- bugfixes for in game joining

This commit is contained in:
Mark Vejvoda
2013-02-17 07:15:01 +00:00
parent e771b53f1c
commit 54c026bb3e
11 changed files with 235 additions and 137 deletions

View File

@@ -1424,6 +1424,12 @@ void World::moveToUnit(int unitId, int destUnitId) {
}
}
void World::clearCaches() {
ExploredCellsLookupItemCache.clear();
ExploredCellsLookupItemCacheTimer.clear();
ExploredCellsLookupItemCacheTimerCount = 0;
}
void World::togglePauseGame(bool pauseStatus,bool forceAllowPauseStateChange) {
game->setPaused(pauseStatus, forceAllowPauseStateChange);
}