From 5e68c282cde20d413978ee949280f6d092fbc8ee Mon Sep 17 00:00:00 2001 From: Christopher Schwarz Date: Tue, 15 Feb 2011 05:14:46 +0000 Subject: * Fix entities leak when using non-builtin layouts (/dev/humancontroller/) --- src/game/g_spawn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game') diff --git a/src/game/g_spawn.c b/src/game/g_spawn.c index 45b10f93..0bdb366a 100644 --- a/src/game/g_spawn.c +++ b/src/game/g_spawn.c @@ -321,7 +321,7 @@ qboolean G_CallSpawn( gentity_t *ent ) { // don't spawn built-in buildings if we are using a custom layout if( level.layout[ 0 ] && Q_stricmp( level.layout, "*BUILTIN*" ) ) - return qtrue; + return qfalse; if( buildable == BA_A_SPAWN || buildable == BA_H_SPAWN ) { -- cgit