From af6d41608a32266ed0251ba4909daa4fa81baca6 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Fri, 2 Feb 2007 19:54:42 +0000 Subject: Made Engine class even more useless by moving emoticon loading into Being. --- src/engine.cpp | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'src/engine.cpp') diff --git a/src/engine.cpp b/src/engine.cpp index 6ed02a9d..be195c9f 100644 --- a/src/engine.cpp +++ b/src/engine.cpp @@ -57,21 +57,10 @@ extern Minimap *minimap; char itemCurrenyQ[10] = "0"; -Spriteset *emotionset; - Engine::Engine(Network *network): mCurrentMap(NULL), mNetwork(network) { - // Load the emotion set - ResourceManager *resman = ResourceManager::getInstance(); - emotionset = resman->getSpriteset("graphics/sprites/emotions.png", 30, 32); - if (!emotionset) logger->error("Unable to load emotions spriteset!"); -} - -Engine::~Engine() -{ - emotionset->decRef(); } void Engine::changeMap(const std::string &mapPath) -- cgit v1.2.3-70-g09d2