diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-28 17:44:08 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-28 17:44:08 +0300 |
commit | 4415cb66734e67dfcdf8924d354107d27fb70fee (patch) | |
tree | 55cbb5de9eaa013ac3b88efad1bba8cfef34c791 /src/game.cpp | |
parent | 9a6810756795ee7a7ed4854ed76f5dc49ec88cc8 (diff) | |
download | manaplus-4415cb66734e67dfcdf8924d354107d27fb70fee.tar.gz manaplus-4415cb66734e67dfcdf8924d354107d27fb70fee.tar.bz2 manaplus-4415cb66734e67dfcdf8924d354107d27fb70fee.tar.xz manaplus-4415cb66734e67dfcdf8924d354107d27fb70fee.zip |
Move delay load code from resourcemanager into separate file.
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp index ffd39aa2e..20fc2d090 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -96,6 +96,7 @@ #include "net/net.h" #include "net/packetcounters.h" +#include "resources/delayedmanager.h" #include "resources/imagewriter.h" #include "resources/mapreader.h" #include "resources/resourcemanager.h" @@ -655,7 +656,7 @@ void Game::slowLogic() if (shopWindow) shopWindow->updateTimes(); if (mainGraphics->getOpenGL()) - ResourceManager::delayedLoad(); + DelayedManager::delayedLoad(); if (guildManager) guildManager->slowLogic(); PacketCounters::update(); |