From 797a2919283659b537a2f8024a758281d0cee8e9 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 23 Feb 2015 23:03:32 +0300 Subject: Move crazy moves code from local player into separate file. --- src/actions/move.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/actions') 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; -- cgit v1.2.3-70-g09d2