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/gui/itemcontainer.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/gui/itemcontainer.cpp')
-rw-r--r-- | src/gui/itemcontainer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/itemcontainer.cpp b/src/gui/itemcontainer.cpp index 5bb3eb35..61e9383f 100644 --- a/src/gui/itemcontainer.cpp +++ b/src/gui/itemcontainer.cpp @@ -30,11 +30,11 @@ ItemContainer::ItemContainer() { ResourceManager *resman = ResourceManager::getInstance(); Image *itemImg = resman->getImage("graphics/sprites/items.png", IMG_ALPHA); - if (!itemImg) logger.error("Unable to load items.png"); + if (!itemImg) logger->error("Unable to load items.png"); itemset = new Spriteset(itemImg, 20, 20); selImg = resman->getImage("graphics/gui/selection.png", IMG_ALPHA); - if (!selImg) logger.error("Unable to load selection.png"); + if (!selImg) logger->error("Unable to load selection.png"); selectedItem = -1; // No item selected |