summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorM. Kristall <mkpdev@gmail.com>2011-10-17 22:42:43 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:18:15 +0000
commitd75076a7dcdd85ff66d68b7611a86d1832f1f360 (patch)
tree2877a63de8748c2adfd83fc94e97dbd32e257b49 /src
parent430a3f4237fa8314402f5d66a9a45acf135d3edb (diff)
* (bug 5269) reverted buildables don't have the original builder named in
/buildlog (/dev/humancontroller)
Diffstat (limited to 'src')
-rw-r--r--src/game/g_buildable.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/g_buildable.c b/src/game/g_buildable.c
index 1094ec90..0f7ec7e6 100644
--- a/src/game/g_buildable.c
+++ b/src/game/g_buildable.c
@@ -3668,6 +3668,8 @@ static gentity_t *G_Build( gentity_t *builder, buildable_t buildable,
if( builder->client )
built->builtBy = builder->client->pers.namelog;
+ else if( builder->builtBy )
+ built->builtBy = builder->builtBy;
else
built->builtBy = NULL;