diff options
author | Tim Angus <tim@ngus.net> | 2001-08-01 12:36:30 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2001-08-01 12:36:30 +0000 |
commit | 8c59d8cce980f84a4f19543d65c4cd0af2427990 (patch) | |
tree | 1a0bf856956a740af542517e3e71fdfb6a94682f /src | |
parent | 7021fe0d2b86f08295d9de151525106e282e649c (diff) |
Small fixes from c3a
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; |