mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Fix crash at battle end
This commit is contained in:
parent
1f9ee6aa38
commit
f483f7bb53
@ -2265,6 +2265,9 @@ void BattleAttack::applyGs(CGameState * gs)
|
||||
|
||||
void StartAction::applyGs(CGameState *gs)
|
||||
{
|
||||
if (!gs->curB)
|
||||
return;
|
||||
|
||||
CStack *st = gs->curB->getStack(ba.stackNumber);
|
||||
|
||||
if(ba.actionType == EActionType::END_TACTIC_PHASE)
|
||||
|
Loading…
Reference in New Issue
Block a user