summaryrefslogtreecommitdiff
path: root/src/localplayer.h
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.h
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.h')
-rw-r--r--src/localplayer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/localplayer.h b/src/localplayer.h
index bfa74d660..6dce18e8c 100644
--- a/src/localplayer.h
+++ b/src/localplayer.h
@@ -84,7 +84,7 @@ class LocalPlayer : public Being, public ActorSpriteListener,
void slowLogic();
- virtual void setAction(const Action action, const int attackType = 0);
+ virtual void setAction(const Action &action, const int attackType = 0);
/**
* Compute the next pathnode location when walking using keyboard.
@@ -360,7 +360,7 @@ class LocalPlayer : public Being, public ActorSpriteListener,
const unsigned char emote) const;
void imitateAction(const Being *const being,
- const Being::Action action);
+ const Being::Action &action);
void imitateDirection(const Being *const being,
const unsigned char dir);