mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2025-01-14 15:57:59 +03:00
Fixed a crash related to an obscure choreo event
This commit is contained in:
parent
c17d32d7a4
commit
c7657b1547
@ -3461,7 +3461,10 @@ void CSceneEntity::StartEvent( float currenttime, CChoreoScene *scene, CChoreoEv
|
|||||||
if ( IsMultiplayer() )
|
if ( IsMultiplayer() )
|
||||||
break;
|
break;
|
||||||
|
|
||||||
DispatchStartPermitResponses( scene, pActor, event );
|
if ( pActor )
|
||||||
|
{
|
||||||
|
DispatchStartPermitResponses( scene, pActor, event );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
@ -3619,7 +3622,10 @@ void CSceneEntity::EndEvent( float currenttime, CChoreoScene *scene, CChoreoEven
|
|||||||
if ( IsMultiplayer() )
|
if ( IsMultiplayer() )
|
||||||
break;
|
break;
|
||||||
|
|
||||||
DispatchEndPermitResponses( scene, pActor, event );
|
if ( pActor )
|
||||||
|
{
|
||||||
|
DispatchEndPermitResponses( scene, pActor, event );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user