From ff52fd2f022a242f870c07ac47e5e877214d5026 Mon Sep 17 00:00:00 2001 From: IronClawTrem Date: Wed, 25 Mar 2020 17:22:34 +0000 Subject: fix segfault in Use_Multi --- src/game/g_trigger.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/g_trigger.c') 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 ) -- cgit