summaryrefslogtreecommitdiff
path: root/src/localplayer.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-09-09 02:07:50 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-09 02:07:50 +0300
commit0cec4fa69c575f69015f37686f1e010d09f2ec48 (patch)
tree3ee7de7a6e19f3bc952bd9da5d4aaf274a37795d /src/localplayer.cpp
parenta85d7ad79ce803adc3469a618bfd8dfe188f2cbf (diff)
downloadmv-0cec4fa69c575f69015f37686f1e010d09f2ec48.tar.gz
mv-0cec4fa69c575f69015f37686f1e010d09f2ec48.tar.bz2
mv-0cec4fa69c575f69015f37686f1e010d09f2ec48.tar.xz
mv-0cec4fa69c575f69015f37686f1e010d09f2ec48.zip
fix code style.
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r--src/localplayer.cpp4
1 files changed, 2 insertions, 2 deletions
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;