diff options
Diffstat (limited to 'src/actionmanager.cpp')
-rw-r--r-- | src/actionmanager.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/actionmanager.cpp b/src/actionmanager.cpp index d3e34daa8..bbfaf5430 100644 --- a/src/actionmanager.cpp +++ b/src/actionmanager.cpp @@ -929,4 +929,24 @@ impHandler0(talk) return false; } +impHandler0(stopAttack) +{ + if (player_node) + { + player_node->stopAttack(); + return true; + } + return false; +} + +impHandler0(untarget) +{ + if (player_node) + { + player_node->untarget(); + return true; + } + return false; +} + } |