QTfrontend/hwconsts.cpp.in
changeset 8646 e31044b7fbba
parent 8636 fa8cd97a0a09
child 8650 18807b6302c8
--- 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}");