diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-05-10 23:04:39 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-05-10 23:04:39 +0000 |
commit | 34a718bbd2573477cb600cfa422c5669b1b9d6b2 (patch) | |
tree | e618e678162fa2f086b3d116006de0efafc1fcd9 /src/resources | |
parent | 7550a006a6dfd185b3e970dbbb21ff053df75e0d (diff) | |
download | mana-34a718bbd2573477cb600cfa422c5669b1b9d6b2.tar.gz mana-34a718bbd2573477cb600cfa422c5669b1b9d6b2.tar.bz2 mana-34a718bbd2573477cb600cfa422c5669b1b9d6b2.tar.xz mana-34a718bbd2573477cb600cfa422c5669b1b9d6b2.zip |
Fixed progress bars in OpenGL mode, now uses Guichan's fillRectangle.
Diffstat (limited to 'src/resources')
-rw-r--r-- | src/resources/itemmanager.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/resources/itemmanager.cpp b/src/resources/itemmanager.cpp index a3438241..05b0ff44 100644 --- a/src/resources/itemmanager.cpp +++ b/src/resources/itemmanager.cpp @@ -42,7 +42,7 @@ ItemManager::ItemManager() std::fstream dbFile; dbFile.open(TMW_DATADIR "data/items.xml", std::ios::in); if (!dbFile.is_open()) { - logger->log("Cannot find item database!"); + logger->error("Cannot find item database (items.xml)!"); return; } dbFile.close(); @@ -53,7 +53,7 @@ ItemManager::ItemManager() xmlNodePtr node = xmlDocGetRootElement(doc); if (!node || !xmlStrEqual(node->name, BAD_CAST "items")) { - logger->log("Warning: Not a valid database file!"); + logger->error("items.xml is not a valid database file!"); } else { for (node = node->xmlChildrenNode; node != NULL; node = node->next) { @@ -105,7 +105,7 @@ ItemManager::ItemManager() xmlFreeDoc(doc); } else { - logger->log("Error while parsing item database!"); + logger->error("Error while parsing item database (items.xml)!"); } unknown = new ItemInfo(); |