diff options
author | IronClawTrem <louie.nutman@gmail.com> | 2020-03-25 17:22:34 +0000 |
---|---|---|
committer | IronClawTrem <louie.nutman@gmail.com> | 2020-03-25 17:22:34 +0000 |
commit | ff52fd2f022a242f870c07ac47e5e877214d5026 (patch) | |
tree | 3e2b0a55657cfc5d57d79a09ea3ad4bcb39980d6 /src/game | |
parent | 53552e14740cd9e7ea52dd45dfd1062e52c00ccf (diff) |
fix segfault in Use_Multi
Diffstat (limited to 'src/game')
-rw-r--r-- | src/game/g_trigger.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_trigger.c b/src/game/g_trigger.c index 0ac34bb..aeac438 100644 --- a/src/game/g_trigger.c +++ b/src/game/g_trigger.c @@ -51,7 +51,7 @@ void multi_trigger( gentity_t *ent, gentity_t *activator ) if( ent->nextthink ) return; // can't retrigger until the wait is over - if( activator->client ) + if( activator && activator->client ) { if( ( ent->spawnflags & 1 ) && activator->client->ps.stats[ STAT_PTEAM ] != PTE_HUMANS ) |