summaryrefslogtreecommitdiff
path: root/src/game-server/abilitymanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game-server/abilitymanager.cpp')
-rw-r--r--src/game-server/abilitymanager.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game-server/abilitymanager.cpp b/src/game-server/abilitymanager.cpp
index 3e923800..c1401284 100644
--- a/src/game-server/abilitymanager.cpp
+++ b/src/game-server/abilitymanager.cpp
@@ -31,6 +31,8 @@ static AbilityManager::TargetMode getTargetByString(const std::string &str)
return AbilityManager::TARGET_BEING;
else if (strLower == "point")
return AbilityManager::TARGET_POINT;
+ else if (strLower == "direction")
+ return AbilityManager::TARGET_DIRECTION;
LOG_WARN("Unknown targetmode " << str << " assuming being.");
return AbilityManager::TARGET_BEING;