1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-24 03:47:18 +02:00

Fix possible crash on Faerie Dragon killing themselves with Frost Ring

This commit is contained in:
Ivan Savenko 2024-07-08 20:56:43 +00:00
parent c357fdb80d
commit c64e7ee14c

View File

@ -2416,7 +2416,7 @@ void CatapultAttack::applyBattle(IBattleState * battleState)
void BattleSetStackProperty::applyGs(CGameState * gs) const
{
CStack * stack = gs->getBattle(battleID)->getStack(stackID);
CStack * stack = gs->getBattle(battleID)->getStack(stackID, false);
switch(which)
{
case CASTS: