aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers/mod/scripts/vscripts
diff options
context:
space:
mode:
authorMilo Akerman <40443620+MiloAkerman@users.noreply.github.com>2022-02-01 10:55:43 -0500
committerBarichello <artur@barichello.me>2022-02-03 17:02:08 -0300
commitaa7489fa4adfdf88febc67d4b6cb7f3b0479f47d (patch)
treef1e68e707feedb2606bd8b477b7709971bbf002c /Northstar.CustomServers/mod/scripts/vscripts
parent0e1e5beb7c0104682d5747f8e36ffcfd0b9e8115 (diff)
downloadNorthstarMods-aa7489fa4adfdf88febc67d4b6cb7f3b0479f47d.tar.gz
NorthstarMods-aa7489fa4adfdf88febc67d4b6cb7f3b0479f47d.zip
Fixed check
Who wrote this???
Diffstat (limited to 'Northstar.CustomServers/mod/scripts/vscripts')
-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 ) )