From 3a431603a284010cb009748788d92f638f69d729 Mon Sep 17 00:00:00 2001 From: Yohann Ferreira Date: Thu, 24 Mar 2005 20:47:20 +0000 Subject: logger... --- src/engine.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/engine.cpp') 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); -- cgit v1.2.3-70-g09d2