From 8c59d8cce980f84a4f19543d65c4cd0af2427990 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Wed, 1 Aug 2001 12:36:30 +0000 Subject: Small fixes from c3a --- src/game/g_spawn.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/game/g_spawn.c b/src/game/g_spawn.c index fcad4e09..8bb3f39f 100644 --- a/src/game/g_spawn.c +++ b/src/game/g_spawn.c @@ -303,6 +303,8 @@ qboolean G_CallSpawn( gentity_t *ent ) { // check normal spawn functions for ( s=spawns ; s->name ; s++ ) { if ( !strcmp(s->name, ent->classname) ) { + if( G_ItemDisabled(item) ) + return qfalse; // found it s->spawn(ent); return qtrue; -- cgit