diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-02-23 23:03:32 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-02-23 23:03:32 +0300 |
commit | 797a2919283659b537a2f8024a758281d0cee8e9 (patch) | |
tree | 7e25c5d5a360af2ed536194d59edf9475883a848 /src/actions/move.cpp | |
parent | 0a3d203f6f311da4a7907863586068827cdedfed (diff) | |
download | plus-797a2919283659b537a2f8024a758281d0cee8e9.tar.gz plus-797a2919283659b537a2f8024a758281d0cee8e9.tar.bz2 plus-797a2919283659b537a2f8024a758281d0cee8e9.tar.xz plus-797a2919283659b537a2f8024a758281d0cee8e9.zip |
Move crazy moves code from local player into separate file.
Diffstat (limited to 'src/actions/move.cpp')
-rw-r--r-- | src/actions/move.cpp | 3 |
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; |