Frank Zago %!s(int64=14) %!d(string=hai) anos
pai
achega
c481177515
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      server/CGameHandler.cpp

+ 1 - 1
server/CGameHandler.cpp

@@ -1655,7 +1655,7 @@ void CGameHandler::takeCreatures(int objid, const std::vector<CStackBasicDescrip
 				if(i->second->type == sbd.type)
 				{
 					TQuantity take = std::min(sbd.count - collected, i->second->count); //collect as much cres as we can
-					changeStackCount(StackLocation(obj, i->first), take, false);
+					changeStackCount(StackLocation(obj, i->first), -take, false);
 					collected += take;
 					break;
 				}