1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2025-08-16 19:39:51 +00:00

Use mods root dir for the files that were in data/ subdir before. Little correction for my prev. patches for compatibility with the iPad version.

This commit is contained in:
fgenesis 2011-11-07 20:23:54 +01:00
parent 54199272e8
commit fa844f29dd
3 changed files with 4 additions and 4 deletions

View file

@ -245,7 +245,7 @@ void WorldMap::load()
if (!dsq->mod.isActive())
_load("data/worldmap.txt");
else
_load(dsq->mod.getPath() + "data/worldmap.txt");
_load(dsq->mod.getPath() + "worldmap.txt");
}
void WorldMap::_load(const std::string &file)
@ -272,7 +272,7 @@ void WorldMap::save()
std::string fn;
if (dsq->mod.isActive())
fn = dsq->mod.getPath() + "data/worldmap.txt";
fn = dsq->mod.getPath() + "worldmap.txt";
else
fn = "data/worldmap.txt";