summaryrefslogtreecommitdiff
path: root/src/map.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-02-14 00:53:22 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-02-14 00:53:22 +0000
commit812103cea68f1da2004dd518c5ad3b448a0e1729 (patch)
treeb4bc86a077385a219474bcb5bca727e0703ed52b /src/map.cpp
parent3628aae5ef1be719603d4aa8e1b209cf5e04520c (diff)
downloadmana-client-812103cea68f1da2004dd518c5ad3b448a0e1729.tar.gz
mana-client-812103cea68f1da2004dd518c5ad3b448a0e1729.tar.bz2
mana-client-812103cea68f1da2004dd518c5ad3b448a0e1729.tar.xz
mana-client-812103cea68f1da2004dd518c5ad3b448a0e1729.zip
Simplified logging for the sake of simplicity.
Diffstat (limited to 'src/map.cpp')
-rw-r--r--src/map.cpp4
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;
}