alexvins %!s(int64=11) %!d(string=hai) anos
pai
achega
8cc586ab7f
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      lib/CBattleCallback.cpp

+ 2 - 2
lib/CBattleCallback.cpp

@@ -2089,11 +2089,11 @@ std::set<const CStack*> CBattleInfoCallback::getAffectedCreatures(const CSpell *
 			TStacks stacks = battleGetAllStacks();
 
 			vstd::erase_if(stacks,[&](const CStack * stack){
-				return ti.smart && spell->isNegative() && stack->owner == attackerOwner);
+				return ti.smart && spell->isNegative() && stack->owner == attackerOwner;
 			});
 
 			vstd::erase_if(stacks,[&](const CStack * stack){
-				return ti.smart && spell->isPositive() && stack->owner != attackerOwner);
+				return ti.smart && spell->isPositive() && stack->owner != attackerOwner;
 			});
 
 			vstd::erase_if(stacks,[&](const CStack * stack){