mirror of
https://github.com/glest/glest-source.git
synced 2025-08-29 02:40:17 +02:00
- missed another bad index
This commit is contained in:
@@ -1966,7 +1966,7 @@ void Map::loadGame(const XmlNode *rootNode, World *world) {
|
|||||||
string value = tokensExploredValue[k];
|
string value = tokensExploredValue[k];
|
||||||
|
|
||||||
SurfaceCell &surfaceCell = surfaceCells[i];
|
SurfaceCell &surfaceCell = surfaceCells[i];
|
||||||
surfaceCell.setExplored(j,strToInt(value));
|
surfaceCell.setExplored(k,strToInt(value));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1981,7 +1981,7 @@ void Map::loadGame(const XmlNode *rootNode, World *world) {
|
|||||||
string value = tokensVisibleValue[k];
|
string value = tokensVisibleValue[k];
|
||||||
|
|
||||||
SurfaceCell &surfaceCell = surfaceCells[i];
|
SurfaceCell &surfaceCell = surfaceCells[i];
|
||||||
surfaceCell.setVisible(j,strToInt(value));
|
surfaceCell.setVisible(k,strToInt(value));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user