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:
parent
08da1692cf
commit
dcf10e978f
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user