summaryrefslogtreecommitdiff
path: root/src/game/g_buildable.c
diff options
context:
space:
mode:
authorChristopher Schwarz <lakitu7@gmail.com>2010-12-08 20:02:11 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:17:47 +0000
commit733c839dc1ed0524c669ee0a2f366f9c0967c10a (patch)
tree57bced0bc838ac081c9bf6d40c1da873d330de5f /src/game/g_buildable.c
parent419fef4d61933c1b4cb01d3bfe3f9a62496bec7b (diff)
* (bug 4815) Add /pause admin command
Diffstat (limited to 'src/game/g_buildable.c')
-rw-r--r--src/game/g_buildable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_buildable.c b/src/game/g_buildable.c
index e0a2e93e..da21798d 100644
--- a/src/game/g_buildable.c
+++ b/src/game/g_buildable.c
@@ -2660,7 +2660,7 @@ void G_BuildableThink( gentity_t *ent, int msec )
int buildTime = BG_Buildable( ent->s.modelindex )->buildTime;
//toggle spawned flag for buildables
- if( !ent->spawned && ent->health > 0 )
+ if( !ent->spawned && ent->health > 0 && !level.pausedTime )
{
if( ent->buildTime + buildTime < level.time )
{