mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-10 22:31:40 +02:00
fix hangs after a siege battle
This commit is contained in:
@@ -644,7 +644,7 @@ void CGTownInstance::clearArmy() const
|
||||
{
|
||||
while(!stacks.empty())
|
||||
{
|
||||
cb->eraseStack(StackLocation(id, stacks.begin()->first));
|
||||
cb->eraseStack(StackLocation(id, stacks.begin()->first), true);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user