mirror of
https://github.com/vcmi/vcmi.git
synced 2025-12-01 23:12:49 +02:00
Various fixes, mainly around garrisons.
This commit is contained in:
@@ -328,7 +328,7 @@ CStackInstance * CCreatureSet::detachStack(TSlot slot)
|
||||
assert(hasStackAtSlot(slot));
|
||||
CStackInstance *ret = stacks[slot];
|
||||
|
||||
if(CArmedInstance *armedObj = castToArmyObj())
|
||||
//if(CArmedInstance *armedObj = castToArmyObj())
|
||||
{
|
||||
ret->setArmyObj(NULL); //detaches from current armyobj
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user