diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2007-02-02 19:54:42 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2007-02-02 19:54:42 +0000 |
commit | af6d41608a32266ed0251ba4909daa4fa81baca6 (patch) | |
tree | 93e8f90ee849ed21d8cb352ecd38710a4ed48b8d /src/engine.cpp | |
parent | 63dcf62ec17992b8993dcab5ace8f3af5c7f8277 (diff) | |
download | mana-af6d41608a32266ed0251ba4909daa4fa81baca6.tar.gz mana-af6d41608a32266ed0251ba4909daa4fa81baca6.tar.bz2 mana-af6d41608a32266ed0251ba4909daa4fa81baca6.tar.xz mana-af6d41608a32266ed0251ba4909daa4fa81baca6.zip |
Made Engine class even more useless by moving emoticon loading into Being.
Diffstat (limited to 'src/engine.cpp')
-rw-r--r-- | src/engine.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
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) |