summaryrefslogtreecommitdiff
path: root/src/game/g_spawn.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_spawn.c')
-rw-r--r--src/game/g_spawn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_spawn.c b/src/game/g_spawn.c
index aee0cfd5..29b6a3e4 100644
--- a/src/game/g_spawn.c
+++ b/src/game/g_spawn.c
@@ -328,7 +328,7 @@ qboolean G_CallSpawn( gentity_t *ent )
if( ( buildable = BG_FindBuildNumForEntityName( ent->classname ) ) != BA_NONE )
{
// don't spawn built-in buildings if we are using a custom layout
- if( level.layout[ 0 ] )
+ if( level.layout[ 0 ] && Q_stricmp( level.layout, "*BUILTIN*" ) )
return qtrue;
if( buildable == BA_A_SPAWN || buildable == BA_H_SPAWN )