diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-10-09 00:30:55 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-10-09 00:30:55 +0300 |
commit | 129f1a7c91466da4499e25225b66f84edb946126 (patch) | |
tree | 0d8e2ca397d24f09f5adb757a0ba57fe70a31ffa /src/actormanager.cpp | |
parent | de997e62656c4a60e069b4fedf5b1b96882c7931 (diff) | |
download | plus-129f1a7c91466da4499e25225b66f84edb946126.tar.gz plus-129f1a7c91466da4499e25225b66f84edb946126.tar.bz2 plus-129f1a7c91466da4499e25225b66f84edb946126.tar.xz plus-129f1a7c91466da4499e25225b66f84edb946126.zip |
Fix compilation warnings.
Diffstat (limited to 'src/actormanager.cpp')
-rw-r--r-- | src/actormanager.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/actormanager.cpp b/src/actormanager.cpp index 53f8c5a6e..b5ce5cbbc 100644 --- a/src/actormanager.cpp +++ b/src/actormanager.cpp @@ -1693,11 +1693,11 @@ void ActorManager::removePickupItem(const std::string &name) #define addMobToList(name, mob) \ {\ - const int size = get##mob##sSize();\ - if (size > 0)\ + const int sz = get##mob##sSize();\ + if (sz > 0)\ {\ const int idx = get##mob##Index("");\ - if (idx + 1 == size)\ + if (idx + 1 == sz)\ {\ std::list<std::string>::iterator itr = m##mob##s.end();\ -- itr;\ |