aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Northstar.CustomServers/mod/scripts/vscripts/_anim.gnut2
1 files changed, 1 insertions, 1 deletions
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/_anim.gnut b/Northstar.CustomServers/mod/scripts/vscripts/_anim.gnut
index 2ead1d30..fb74677f 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 ) )