From 72b7a39be0762a9c604781404f047e2a0653f5f2 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Mon, 16 Jun 2003 03:02:08 +0000 Subject: * Exchanged Dragoon and Hydra to better fit the models * Adjusted relavant attributes * Disabled bank * Credits now non-volatile * In stages where the advanced builder is allowed it is now available from the egg --- src/game/g_spawn.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'src/game/g_spawn.c') diff --git a/src/game/g_spawn.c b/src/game/g_spawn.c index 55b90229..2dec4aa2 100644 --- a/src/game/g_spawn.c +++ b/src/game/g_spawn.c @@ -307,8 +307,16 @@ qboolean G_CallSpawn( gentity_t *ent ) //check buildable spawn functions if( ( buildable = BG_FindBuildNumForEntityName( ent->classname ) ) != BA_NONE ) { - G_SpawnBuildable( ent, buildable ); - return qtrue; + if( BG_FindStagesForBuildable( buildable, 1 ) ) + { + G_SpawnBuildable( ent, buildable ); + return qtrue; + } + else + { + G_Printf( "G_CallSpawn: buildable disabled\n" ); + return qfalse; + } } // check normal spawn functions -- cgit