summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 0d239fa3e..9fe4c2508 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -994,8 +994,7 @@ void Game::changeMap(const std::string &mapPath)
BLOCK_START("Game::changeMap")
resetAdjustLevel();
- ResourceManager *const resman = ResourceManager::getInstance();
- resman->cleanProtected();
+ resourceManager->cleanProtected();
if (popupManager)
{