diff options
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 39b73091..76fba34a 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -104,7 +104,7 @@ bool Map::load(const std::string &mapFile) FILE *file = fopen(mapFile.c_str(), "r"); if (!file) { - warning(mapFile.c_str()); + log("Warning: %s", mapFile.c_str()); return false; } @@ -151,7 +151,7 @@ bool loadXmlMap(const std::string &mapFile) xmlDocPtr doc = xmlReadFile(mapFile.c_str(), NULL, 0); if (!doc) { - warning(mapFile.c_str()); + log("Warning: %s", mapFile.c_str()); return false; } |