diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-05-02 11:23:05 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-05-02 11:23:05 +0000 |
commit | b8dbdb628ba7a07a785e494d0ed76ebfe9e06615 (patch) | |
tree | 173d22e656ac771e473cdb7c1d035963d39c27e1 /src/being.cpp | |
parent | b05628214d64e579504c87da72e79c024245a631 (diff) | |
download | mana-b8dbdb628ba7a07a785e494d0ed76ebfe9e06615.tar.gz mana-b8dbdb628ba7a07a785e494d0ed76ebfe9e06615.tar.bz2 mana-b8dbdb628ba7a07a785e494d0ed76ebfe9e06615.tar.xz mana-b8dbdb628ba7a07a785e494d0ed76ebfe9e06615.zip |
Made config.xml, tmw.log and chatlog.txt always appear in ~/.tmw on *nix.
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); |