summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/actormanager.cpp2
-rw-r--r--src/actormanager.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/actormanager.cpp b/src/actormanager.cpp
index ba6db8c63..59524b9e9 100644
--- a/src/actormanager.cpp
+++ b/src/actormanager.cpp
@@ -201,9 +201,11 @@ ActorManager::ActorManager() :
mBlockedBeings(),
mChars(),
mMap(nullptr),
+#ifdef TMWA_SUPPORT
mSpellHeal1(serverConfig.getValue("spellHeal1", "#lum")),
mSpellHeal2(serverConfig.getValue("spellHeal2", "#inma")),
mSpellItenplz(serverConfig.getValue("spellItenplz", "#itenplz")),
+#endif
mTargetDeadPlayers(config.getBoolValue("targetDeadPlayers")),
mTargetOnlyReachable(config.getBoolValue("targetOnlyReachable")),
mCyclePlayers(config.getBoolValue("cyclePlayers")),
diff --git a/src/actormanager.h b/src/actormanager.h
index 12ac788a4..20daab2cc 100644
--- a/src/actormanager.h
+++ b/src/actormanager.h
@@ -415,9 +415,11 @@ class ActorManager final: public ConfigListener
std::set<BeingId> mBlockedBeings;
std::map<int32_t, std::string> mChars;
Map *mMap;
+#ifdef TMWA_SUPPORT
std::string mSpellHeal1;
std::string mSpellHeal2;
std::string mSpellItenplz;
+#endif
bool mTargetDeadPlayers;
bool mTargetOnlyReachable;
bool mCyclePlayers;