summaryrefslogtreecommitdiff
path: root/src/statuseffect.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-08-24 22:48:35 +0300
committerAndrei Karas <akaras@inbox.ru>2012-08-24 22:48:35 +0300
commitb474de4a54c9b1d4d863971e40b807588d554436 (patch)
tree761e71f86ea232d1688ee2838bd2294c59dea947 /src/statuseffect.cpp
parenta316d537dce50f4b4e1e10f5c26a7851baddbd8b (diff)
downloadManaVerse-b474de4a54c9b1d4d863971e40b807588d554436.tar.gz
ManaVerse-b474de4a54c9b1d4d863971e40b807588d554436.tar.bz2
ManaVerse-b474de4a54c9b1d4d863971e40b807588d554436.tar.xz
ManaVerse-b474de4a54c9b1d4d863971e40b807588d554436.zip
replace defines to consts.
Diffstat (limited to 'src/statuseffect.cpp')
-rw-r--r--src/statuseffect.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/statuseffect.cpp b/src/statuseffect.cpp
index 810c65aca..0855d2c9b 100644
--- a/src/statuseffect.cpp
+++ b/src/statuseffect.cpp
@@ -33,7 +33,7 @@
#include "debug.h"
-#define STATUS_EFFECTS_FILE "status-effects.xml"
+static const char *STATUS_EFFECTS_FILE = "status-effects.xml";
static void unloadMap(std::map<int, StatusEffect *> &map);
@@ -132,8 +132,7 @@ void StatusEffect::load()
if (!rootNode || !xmlNameEqual(rootNode, "status-effects"))
{
- logger->log1("Error loading status effects file: "
- STATUS_EFFECTS_FILE);
+ logger->log1("Error loading status effects file");
return;
}