1
0
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:
kdmcser
2025-05-02 22:16:35 +08:00
parent ac26b3ed9b
commit 50887a4f30

View File

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