From aa7489fa4adfdf88febc67d4b6cb7f3b0479f47d Mon Sep 17 00:00:00 2001 From: Milo Akerman <40443620+MiloAkerman@users.noreply.github.com> Date: Tue, 1 Feb 2022 10:55:43 -0500 Subject: Fixed check Who wrote this??? --- Northstar.CustomServers/mod/scripts/vscripts/_anim.gnut | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Northstar.CustomServers') diff --git a/Northstar.CustomServers/mod/scripts/vscripts/_anim.gnut b/Northstar.CustomServers/mod/scripts/vscripts/_anim.gnut index 2ead1d306..fb74677fe 100644 --- a/Northstar.CustomServers/mod/scripts/vscripts/_anim.gnut +++ b/Northstar.CustomServers/mod/scripts/vscripts/_anim.gnut @@ -1103,7 +1103,7 @@ void function FirstPersonSequence( FirstPersonSequenceStruct sequence, entity pl entity soul - if ( ent ) + if ( IsValid(ent) ) { // the entity we are animating relative to may change during the animation if ( IsSoul( ent ) ) -- cgit v1.2.3