Config File Update Initial Update

This commit is contained in:
phredi committed 2016-05-20 21:03:34 -05:00
1 parent 04f47f1e32
commit b997a040d7
50 files changed
+247 -93

No files matched your search

+2 -2
View File
@@ -12,7 +12,7 @@
WaterMap* WaterMap::LoadWaterMapfile(std::string zone_name) {
std::transform(zone_name.begin(), zone_name.end(), zone_name.begin(), ::tolower);
std::string file_path = MAP_DIR + std::string("/") + zone_name + std::string(".wtr");
std::string file_path = Config->MapDir + zone_name + std::string(".wtr");
FILE *f = fopen(file_path.c_str(), "rb");
if(f) {
char magic[10];
@@ -57,4 +57,4 @@ WaterMap* WaterMap::LoadWaterMapfile(std::string zone_name) {
}
return nullptr;
}
}