From 0cec4fa69c575f69015f37686f1e010d09f2ec48 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 9 Sep 2012 02:07:50 +0300 Subject: fix code style. --- src/localplayer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/localplayer.cpp') diff --git a/src/localplayer.cpp b/src/localplayer.cpp index 1dc126c52..1d4f75c37 100644 --- a/src/localplayer.cpp +++ b/src/localplayer.cpp @@ -355,7 +355,7 @@ void LocalPlayer::slowLogic() } } -void LocalPlayer::setAction(const Action action, const int attackType) +void LocalPlayer::setAction(const Action &action, const int attackType) { if (action == DEAD) { @@ -3830,7 +3830,7 @@ void LocalPlayer::imitateEmote(const Being *const being, } void LocalPlayer::imitateAction(const Being *const being, - const Being::Action action) + const Being::Action &action) { if (!being) return; -- cgit v1.2.3-70-g09d2