summaryrefslogtreecommitdiff
path: root/src/engine.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2007-02-02 19:54:42 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2007-02-02 19:54:42 +0000
commitaf6d41608a32266ed0251ba4909daa4fa81baca6 (patch)
tree93e8f90ee849ed21d8cb352ecd38710a4ed48b8d /src/engine.cpp
parent63dcf62ec17992b8993dcab5ace8f3af5c7f8277 (diff)
downloadmana-client-af6d41608a32266ed0251ba4909daa4fa81baca6.tar.gz
mana-client-af6d41608a32266ed0251ba4909daa4fa81baca6.tar.bz2
mana-client-af6d41608a32266ed0251ba4909daa4fa81baca6.tar.xz
mana-client-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.cpp11
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)