summaryrefslogtreecommitdiff
path: root/src/actions
diff options
context:
space:
mode:
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;