diff options
author | Yohann Ferreira <bertram@cegetel.net> | 2005-03-24 20:59:33 +0000 |
---|---|---|
committer | Yohann Ferreira <bertram@cegetel.net> | 2005-03-24 20:59:33 +0000 |
commit | 91c154d9ed3fa307ea5566f62b003c38cdacf2ad (patch) | |
tree | f2f334d090ff115ae0c3573455da42e1dca09c47 /src/map.cpp | |
parent | b58164b2ba3ea6a3f6a87db38038f69d961fda11 (diff) | |
download | mana-client-91c154d9ed3fa307ea5566f62b003c38cdacf2ad.tar.gz mana-client-91c154d9ed3fa307ea5566f62b003c38cdacf2ad.tar.bz2 mana-client-91c154d9ed3fa307ea5566f62b003c38cdacf2ad.tar.xz mana-client-91c154d9ed3fa307ea5566f62b003c38cdacf2ad.zip |
logger...
Diffstat (limited to 'src/map.cpp')
-rw-r--r-- | src/map.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map.cpp b/src/map.cpp index e7323b58..c51b479e 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -121,7 +121,7 @@ Map *Map::load(const std::string &mapFile) FILE *file = fopen(mapFile.c_str(), "r"); if (!file) { - log("Warning: %s", mapFile.c_str()); + logger.log("Warning: %s", mapFile.c_str()); return NULL; } @@ -134,7 +134,7 @@ Map *Map::load(const std::string &mapFile) // Load the default tileset ResourceManager *resman = ResourceManager::getInstance(); Image *tilesetbmp = resman->getImage("core/graphics/tiles/desert.png"); - if (!tilesetbmp) error("Unable to load desert.png"); + if (!tilesetbmp) logger.error("Unable to load desert.png"); Spriteset *tileset = new Spriteset(tilesetbmp, 32, 32); // Transfer tile data |