diff options
Diffstat (limited to 'src/gui/equipment.cpp')
-rw-r--r-- | src/gui/equipment.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/equipment.cpp b/src/gui/equipment.cpp index 5393459f..8ca23833 100644 --- a/src/gui/equipment.cpp +++ b/src/gui/equipment.cpp @@ -34,12 +34,12 @@ EquipmentWindow::EquipmentWindow(): { setContentSize(134, 60); setPosition(40, 40); - + 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); - + for (int i = 0; i < 10; i++ ) { equipments[i].id = 0; equipments[i].inventoryIndex = -1; |