diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-11-17 02:42:24 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-11-17 02:42:24 +0300 |
commit | ad233d01f2c63dab29a0301209196dfd97856130 (patch) | |
tree | 5afb423c4fa8b7e0fff90d5f2e80a8663d8f38e8 /src/being | |
parent | 477e52027f123fef9cc21cd1a66617913b8e1d47 (diff) | |
download | manaplus-ad233d01f2c63dab29a0301209196dfd97856130.tar.gz manaplus-ad233d01f2c63dab29a0301209196dfd97856130.tar.bz2 manaplus-ad233d01f2c63dab29a0301209196dfd97856130.tar.xz manaplus-ad233d01f2c63dab29a0301209196dfd97856130.zip |
Fix compilation without C++11 again.
Diffstat (limited to 'src/being')
-rw-r--r-- | src/being/playerinfo.cpp | 2 | ||||
-rw-r--r-- | src/being/playerinfo.h | 2 |
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); |