mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-13 19:54:17 +02:00
Removed unnessessary code from previous commit.
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user