1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-26 03:52:01 +02:00

Removed unnessessary code from previous commit.

This commit is contained in:
DjWarmonger 2010-06-25 08:34:14 +00:00
parent 08da1692cf
commit dcf10e978f

View File

@ -1898,7 +1898,7 @@ void CGameHandler::takeCreatures (int objid, TSlots creatures) //probably we cou
int slot = newArmy.getSlotFor(creatures.begin()->second.type->idNumber);
if (slot < 0)
break;
newArmy.slots[slot].type = creatures.begin()->second.type;
//newArmy.slots[slot].type = creatures.begin()->second.type;
newArmy.slots[slot].count -= creatures.begin()->second.count;
if (newArmy.getStack(slot).count < 1)
newArmy.eraseStack(slot);