diff options
author | Yohann Ferreira <bertram@cegetel.net> | 2005-03-24 20:47:20 +0000 |
---|---|---|
committer | Yohann Ferreira <bertram@cegetel.net> | 2005-03-24 20:47:20 +0000 |
commit | 3a431603a284010cb009748788d92f638f69d729 (patch) | |
tree | 9aadedf03cdb46e1da2e4b044a3428f95b9a0f31 /src/engine.cpp | |
parent | ae53186552918738595379722cbb386d7c0438c6 (diff) | |
download | mana-client-3a431603a284010cb009748788d92f638f69d729.tar.gz mana-client-3a431603a284010cb009748788d92f638f69d729.tar.bz2 mana-client-3a431603a284010cb009748788d92f638f69d729.tar.xz mana-client-3a431603a284010cb009748788d92f638f69d729.zip |
logger...
Diffstat (limited to 'src/engine.cpp')
-rw-r--r-- | src/engine.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/engine.cpp b/src/engine.cpp index 7785313f..b03dbf38 100644 --- a/src/engine.cpp +++ b/src/engine.cpp @@ -203,11 +203,11 @@ Engine::Engine() Image *itembitmap = resman->getImage( "core/graphics/sprites/items.png", IMG_ALPHA); - if (!npcbmp) error("Unable to load npcs.png"); - if (!emotionbmp) error("Unable to load emotions.png"); - if (!monsterbitmap) error("Unable to load monsters.png"); - if (!weaponbitmap) error("Unable to load weapons.png"); - if (!itembitmap) error("Unable to load items.png"); + if (!npcbmp) logger.error("Unable to load npcs.png"); + if (!emotionbmp) logger.error("Unable to load emotions.png"); + if (!monsterbitmap) logger.error("Unable to load monsters.png"); + if (!weaponbitmap) logger.error("Unable to load weapons.png"); + if (!itembitmap) logger.error("Unable to load items.png"); npcset = new Spriteset(npcbmp, 50, 80); emotionset = new Spriteset(emotionbmp, 19, 19); |