mirror of
https://github.com/vcmi/vcmi.git
synced 2026-06-19 22:57:37 +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