diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-02-14 00:53:22 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-02-14 00:53:22 +0000 |
commit | 812103cea68f1da2004dd518c5ad3b448a0e1729 (patch) | |
tree | b4bc86a077385a219474bcb5bca727e0703ed52b /src/map.cpp | |
parent | 3628aae5ef1be719603d4aa8e1b209cf5e04520c (diff) | |
download | mana-812103cea68f1da2004dd518c5ad3b448a0e1729.tar.gz mana-812103cea68f1da2004dd518c5ad3b448a0e1729.tar.bz2 mana-812103cea68f1da2004dd518c5ad3b448a0e1729.tar.xz mana-812103cea68f1da2004dd518c5ad3b448a0e1729.zip |
Simplified logging for the sake of simplicity.
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; } |