summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2001-08-01 12:36:30 +0000
committerTim Angus <tim@ngus.net>2001-08-01 12:36:30 +0000
commit8c59d8cce980f84a4f19543d65c4cd0af2427990 (patch)
tree1a0bf856956a740af542517e3e71fdfb6a94682f /src
parent7021fe0d2b86f08295d9de151525106e282e649c (diff)
Small fixes from c3a
Diffstat (limited to 'src')
-rw-r--r--src/game/g_spawn.c2
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;