diff options
author | Philipp Sehmisch <tmw@crushnet.org> | 2006-08-17 19:11:28 +0000 |
---|---|---|
committer | Philipp Sehmisch <tmw@crushnet.org> | 2006-08-17 19:11:28 +0000 |
commit | 19ce91290d85620ee464e85c617575986cd34aec (patch) | |
tree | adc7aa4b36553510485cb1197e76108326401b9d /src/engine.cpp | |
parent | ece19f6d44e2604f1d2fee9e0ece02030105e0d4 (diff) | |
download | mana-19ce91290d85620ee464e85c617575986cd34aec.tar.gz mana-19ce91290d85620ee464e85c617575986cd34aec.tar.bz2 mana-19ce91290d85620ee464e85c617575986cd34aec.tar.xz mana-19ce91290d85620ee464e85c617575986cd34aec.zip |
the item icons are now stored in different files with more descriptive names
Diffstat (limited to 'src/engine.cpp')
-rw-r--r-- | src/engine.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/engine.cpp b/src/engine.cpp index 01bbbaa2..eb36a9fc 100644 --- a/src/engine.cpp +++ b/src/engine.cpp @@ -58,7 +58,6 @@ int camera_x, camera_y; ItemManager *itemDb; /**< Item database object */ -Spriteset *itemset; Spriteset *emotionset; Spriteset *npcset; std::vector<Spriteset *> weaponset; @@ -84,11 +83,9 @@ Engine::Engine(Network *network): weaponset.push_back(tmp); } } - itemset = resman->getSpriteset("graphics/sprites/items.png", 32, 32); if (!npcset) logger->error("Unable to load NPC spriteset!"); if (!emotionset) logger->error("Unable to load emotions spriteset!"); - if (!itemset) logger->error("Unable to load item spriteset!"); // Initialize item manager itemDb = new ItemManager(); @@ -99,7 +96,6 @@ Engine::~Engine() // Delete sprite sets npcset->decRef(); emotionset->decRef(); - itemset->decRef(); std::for_each(weaponset.begin(), weaponset.end(), std::mem_fun(&Spriteset::decRef)); |