mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2025-01-14 07:47:55 +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() )
|
||||
break;
|
||||
|
||||
DispatchStartPermitResponses( scene, pActor, event );
|
||||
if ( pActor )
|
||||
{
|
||||
DispatchStartPermitResponses( scene, pActor, event );
|
||||
}
|
||||
}
|
||||
break;
|
||||
default:
|
||||
@ -3619,7 +3622,10 @@ void CSceneEntity::EndEvent( float currenttime, CChoreoScene *scene, CChoreoEven
|
||||
if ( IsMultiplayer() )
|
||||
break;
|
||||
|
||||
DispatchEndPermitResponses( scene, pActor, event );
|
||||
if ( pActor )
|
||||
{
|
||||
DispatchEndPermitResponses( scene, pActor, event );
|
||||
}
|
||||
}
|
||||
break;
|
||||
default:
|
||||
|
Loading…
x
Reference in New Issue
Block a user