1
0
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:
Michał W. Urbańczyk
2011-02-05 13:39:10 +00:00
parent c6db92c0be
commit a3ba75b0b7
4 changed files with 70 additions and 85 deletions

View File

@@ -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
}