summaryrefslogtreecommitdiff
path: root/src/actions
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-23 23:03:32 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-23 23:03:32 +0300
commit797a2919283659b537a2f8024a758281d0cee8e9 (patch)
tree7e25c5d5a360af2ed536194d59edf9475883a848 /src/actions
parent0a3d203f6f311da4a7907863586068827cdedfed (diff)
downloadmanaplus-797a2919283659b537a2f8024a758281d0cee8e9.tar.gz
manaplus-797a2919283659b537a2f8024a758281d0cee8e9.tar.bz2
manaplus-797a2919283659b537a2f8024a758281d0cee8e9.tar.xz
manaplus-797a2919283659b537a2f8024a758281d0cee8e9.zip
Move crazy moves code from local player into separate file.
Diffstat (limited to 'src/actions')
-rw-r--r--src/actions/move.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/actions/move.cpp b/src/actions/move.cpp
index c73403bf7..6c32bbfe1 100644
--- a/src/actions/move.cpp
+++ b/src/actions/move.cpp
@@ -25,6 +25,7 @@
#include "actions/actiondef.h"
#include "actions/pets.h"
+#include "being/crazymoves.h"
#include "being/localplayer.h"
#include "gui/windows/socialwindow.h"
@@ -149,7 +150,7 @@ impHandler0(crazyMoves)
{
if (localPlayer)
{
- localPlayer->crazyMove();
+ ::crazyMoves->crazyMove();
return true;
}
return false;