summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-28 17:44:08 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-28 17:44:08 +0300
commit4415cb66734e67dfcdf8924d354107d27fb70fee (patch)
tree55cbb5de9eaa013ac3b88efad1bba8cfef34c791 /src/game.cpp
parent9a6810756795ee7a7ed4854ed76f5dc49ec88cc8 (diff)
downloadmanaverse-4415cb66734e67dfcdf8924d354107d27fb70fee.tar.gz
manaverse-4415cb66734e67dfcdf8924d354107d27fb70fee.tar.bz2
manaverse-4415cb66734e67dfcdf8924d354107d27fb70fee.tar.xz
manaverse-4415cb66734e67dfcdf8924d354107d27fb70fee.zip
Move delay load code from resourcemanager into separate file.
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp3
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();