1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-09-16 09:26:28 +02:00

Revert "Silence "X doesn't have a base stack!" warning"

This reverts commit 6d13c8938c.
This commit is contained in:
AlexVinS
2016-11-18 17:49:55 +03:00
parent dc39fb2d14
commit 2af7331088

View File

@@ -271,8 +271,6 @@ public:
assert (hero);
base = hero->commander;
}
else if(slot == SlotID::WAR_MACHINES_SLOT || slot == SlotID::ARROW_TOWERS_SLOT)
base = nullptr;
else if(!army || slot == SlotID() || !army->hasStackAtSlot(slot))
{
base = nullptr;