summaryrefslogtreecommitdiff
path: root/src/being
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-11-17 02:42:24 +0300
committerAndrei Karas <akaras@inbox.ru>2015-11-17 02:42:24 +0300
commitad233d01f2c63dab29a0301209196dfd97856130 (patch)
tree5afb423c4fa8b7e0fff90d5f2e80a8663d8f38e8 /src/being
parent477e52027f123fef9cc21cd1a66617913b8e1d47 (diff)
downloadManaVerse-ad233d01f2c63dab29a0301209196dfd97856130.tar.gz
ManaVerse-ad233d01f2c63dab29a0301209196dfd97856130.tar.bz2
ManaVerse-ad233d01f2c63dab29a0301209196dfd97856130.tar.xz
ManaVerse-ad233d01f2c63dab29a0301209196dfd97856130.zip
Fix compilation without C++11 again.
Diffstat (limited to 'src/being')
-rw-r--r--src/being/playerinfo.cpp2
-rw-r--r--src/being/playerinfo.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/being/playerinfo.cpp b/src/being/playerinfo.cpp
index d7298587d..a374d8b5b 100644
--- a/src/being/playerinfo.cpp
+++ b/src/being/playerinfo.cpp
@@ -460,7 +460,7 @@ void gameDestroyed()
#endif
}
-void stateChange(const State state)
+void stateChange(const StateT state)
{
if (state == State::GAME)
{
diff --git a/src/being/playerinfo.h b/src/being/playerinfo.h
index 3a74754e1..c45ba8a06 100644
--- a/src/being/playerinfo.h
+++ b/src/being/playerinfo.h
@@ -227,7 +227,7 @@ namespace PlayerInfo
void gameDestroyed();
- void stateChange(const State state);
+ void stateChange(const StateT state);
void triggerAttr(const AttributesT id,
const int old);