diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/game/g_spawn.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |