summaryrefslogtreecommitdiff
path: root/src/being/localplayer.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-29 23:24:05 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-29 23:24:05 +0300
commitc593adb7fb0dffc62f1311e6c52f25bfafcdf0f4 (patch)
treefc89a0dde74c24d2876cf5833ff1d42d3ffd8c51 /src/being/localplayer.h
parente9b375927f271808d507c5a95443d460bbd6ce92 (diff)
downloadmv-c593adb7fb0dffc62f1311e6c52f25bfafcdf0f4.tar.gz
mv-c593adb7fb0dffc62f1311e6c52f25bfafcdf0f4.tar.bz2
mv-c593adb7fb0dffc62f1311e6c52f25bfafcdf0f4.tar.xz
mv-c593adb7fb0dffc62f1311e6c52f25bfafcdf0f4.zip
Convert BeingAction enum into strong typed enum.
Diffstat (limited to 'src/being/localplayer.h')
-rw-r--r--src/being/localplayer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/being/localplayer.h b/src/being/localplayer.h
index 84089984e..e64f8fd58 100644
--- a/src/being/localplayer.h
+++ b/src/being/localplayer.h
@@ -71,7 +71,7 @@ class LocalPlayer final : public Being,
void slowLogic();
- void setAction(const BeingAction::Action &action,
+ void setAction(const BeingActionT &action,
const int attackType = 0) override final;
/**
@@ -250,7 +250,7 @@ class LocalPlayer final : public Being,
const unsigned char emote) const;
void imitateAction(const Being *const being,
- const BeingAction::Action &action);
+ const BeingActionT &action);
void imitateDirection(const Being *const being,
const unsigned char dir);