mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2024-11-15 14:09:06 +00:00
Fix "tile dummy" error.
When a mod without a world map was loaded from a saved game, and the player died and respawned at the last save, the game would spam this error message. Now it loads world map explored data only if a world map is present.
This commit is contained in:
parent
9b63b400d5
commit
4891fcc339
1 changed files with 1 additions and 1 deletions
|
@ -2709,7 +2709,7 @@ void Continuity::loadFile(int slot)
|
||||||
|
|
||||||
|
|
||||||
#ifdef AQUARIA_BUILD_MAPVIS
|
#ifdef AQUARIA_BUILD_MAPVIS
|
||||||
if (worldMap->Attribute("va"))
|
if (worldMap->Attribute("va") && dsq->continuity.worldMap.getNumWorldMapTiles())
|
||||||
{
|
{
|
||||||
std::istringstream is(worldMap->Attribute("va"));
|
std::istringstream is(worldMap->Attribute("va"));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue