From c593adb7fb0dffc62f1311e6c52f25bfafcdf0f4 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 29 May 2015 23:24:05 +0300 Subject: Convert BeingAction enum into strong typed enum. --- src/being/localplayer.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/being/localplayer.cpp') diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp index 1374eefab..4ad43b098 100644 --- a/src/being/localplayer.cpp +++ b/src/being/localplayer.cpp @@ -372,7 +372,7 @@ void LocalPlayer::slowLogic() BLOCK_END("LocalPlayer::slowLogic") } -void LocalPlayer::setAction(const BeingAction::Action &action, +void LocalPlayer::setAction(const BeingActionT &action, const int attackType) { if (action == BeingAction::DEAD) @@ -691,7 +691,7 @@ bool LocalPlayer::toggleSit() const if (!PacketLimiter::limitPackets(PACKET_SIT)) return false; - BeingAction::Action newAction; + BeingActionT newAction; switch (mAction) { case BeingAction::STAND: @@ -2241,7 +2241,7 @@ void LocalPlayer::imitateEmote(const Being *const being, } void LocalPlayer::imitateAction(const Being *const being, - const BeingAction::Action &action) + const BeingActionT &action) { if (!being) return; -- cgit v1.2.3-70-g09d2