summary refs log tree commit diff stats
path: root/src/map.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/map.cpp')
-rw-r--r--src/map.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map.cpp b/src/map.cpp index 29f22ec..11d1d52 100644 --- a/src/map.cpp +++ b/src/map.cpp
@@ -18,7 +18,7 @@ Map::Map(const std::string name)
18{ 18{
19 this->name = name; 19 this->name = name;
20 20
21 xmlDocPtr doc = xmlParseFile(("../maps/" + name + ".xml").c_str()); 21 xmlDocPtr doc = xmlParseFile(("maps/" + name + ".xml").c_str());
22 if (doc == nullptr) 22 if (doc == nullptr)
23 { 23 {
24 fprintf(stderr, "Error reading map %s\n", name.c_str()); 24 fprintf(stderr, "Error reading map %s\n", name.c_str());