diff options
Diffstat (limited to 'src/being.cpp')
-rw-r--r-- | src/being.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/being.cpp b/src/being.cpp index 3ddbeac9..c9b65e60 100644 --- a/src/being.cpp +++ b/src/being.cpp @@ -50,11 +50,11 @@ void add_node(Being *being) else if (being->job >= 1002 && monsterset[being->job - 1002] == NULL) { std::stringstream filename; filename << "graphics/sprites/monster" << (being->job - 1002) << ".png"; - logger.log("%s",filename.str().c_str()); + logger->log("%s",filename.str().c_str()); ResourceManager *resman = ResourceManager::getInstance(); Image *monsterbitmap = resman->getImage(filename.str()); if (!monsterbitmap) { - logger.error("Unable to load monster.png"); + logger->error("Unable to load monster.png"); } else { monsterset[being->job - 1002] = new Spriteset(monsterbitmap, 60, 60); |