summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
authorChristopher Schwarz <lakitu7@gmail.com>2011-02-15 05:14:46 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:18:00 +0000
commit5e68c282cde20d413978ee949280f6d092fbc8ee (patch)
tree139176b38dfe3d715c39ca9e2ceff72413b6d86b /src/game
parent124d66e9cba92dde7d6e149aa546c5198f833b43 (diff)
* Fix entities leak when using non-builtin layouts (/dev/humancontroller/)
Diffstat (limited to 'src/game')
-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 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 )
{