diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-29 20:33:10 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-29 20:33:10 +0300 |
commit | 9f1994182d4225f630a93ae06b01927c4f7a9a37 (patch) | |
tree | b3557f6c6e6a923170929fd6553b59f872634291 /src/being/being.cpp | |
parent | aef032f93b7bdc6e5908b2fa5f940a43bcfce50e (diff) | |
download | mv-9f1994182d4225f630a93ae06b01927c4f7a9a37.tar.gz mv-9f1994182d4225f630a93ae06b01927c4f7a9a37.tar.bz2 mv-9f1994182d4225f630a93ae06b01927c4f7a9a37.tar.xz mv-9f1994182d4225f630a93ae06b01927c4f7a9a37.zip |
Convert ActorType enum into strong typed enum.
Diffstat (limited to 'src/being/being.cpp')
-rw-r--r-- | src/being/being.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp index 68efe4c65..1362c904a 100644 --- a/src/being/being.cpp +++ b/src/being/being.cpp @@ -126,7 +126,7 @@ typedef std::map<int, Guild*>::const_iterator GuildsMapCIter; typedef std::map<int, int>::const_iterator IntMapCIter; Being::Being(const BeingId id, - const ActorType::Type type, + const ActorTypeT type, const BeingTypeId subtype, Map *const map) : ActorSprite(id), @@ -3083,7 +3083,7 @@ void Being::updateComment() } std::string Being::loadComment(const std::string &name, - const ActorType::Type &type) + const ActorTypeT &type) { std::string str; switch (type) @@ -3122,7 +3122,7 @@ std::string Being::loadComment(const std::string &name, void Being::saveComment(const std::string &restrict name, const std::string &restrict comment, - const ActorType::Type &restrict type) + const ActorTypeT &restrict type) { std::string dir; switch (type) |