From 129f1a7c91466da4499e25225b66f84edb946126 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 9 Oct 2015 00:30:55 +0300 Subject: Fix compilation warnings. --- src/actormanager.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/actormanager.cpp') 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::iterator itr = m##mob##s.end();\ -- itr;\ -- cgit v1.2.3-70-g09d2