mirror of
https://github.com/vcmi/vcmi.git
synced 2025-02-03 13:01:33 +02:00
Fix possible crash on Faerie Dragon killing themselves with Frost Ring
This commit is contained in:
parent
c357fdb80d
commit
c64e7ee14c
@ -2416,7 +2416,7 @@ void CatapultAttack::applyBattle(IBattleState * battleState)
|
|||||||
|
|
||||||
void BattleSetStackProperty::applyGs(CGameState * gs) const
|
void BattleSetStackProperty::applyGs(CGameState * gs) const
|
||||||
{
|
{
|
||||||
CStack * stack = gs->getBattle(battleID)->getStack(stackID);
|
CStack * stack = gs->getBattle(battleID)->getStack(stackID, false);
|
||||||
switch(which)
|
switch(which)
|
||||||
{
|
{
|
||||||
case CASTS:
|
case CASTS:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user