--- a/QTfrontend/hwconsts.cpp.in Mon Mar 04 20:16:43 2013 +0400
+++ b/QTfrontend/hwconsts.cpp.in Mon Mar 04 18:27:21 2013 +0100
@@ -21,8 +21,9 @@
#include "hwconsts.h"
#include "weapons.h"
+// cDataDir gets 'Data' appended later (in main.cpp)
+QString * cDataDir = new QString("${HEDGEWARS_DATADIR}");
QString * cProtoVer = new QString("${HEDGEWARS_PROTO_VER}");
-QString * cDataDir = new QString("${HEDGEWARS_DATADIR}");
QString * cVersionString = new QString("${HEDGEWARS_VERSION}");
QString * cRevisionString = new QString("${revision_number}");
QString * cHashString = new QString("${hash_number}");