summaryrefslogtreecommitdiff
path: root/src/game/g_buildable.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2001-07-29 21:12:03 +0000
committerTim Angus <tim@ngus.net>2001-07-29 21:12:03 +0000
commit7857588422544f1498d6224a8a423af0fd3f9520 (patch)
tree3573a859393ce20554210c98a36c67e3aaf63ed4 /src/game/g_buildable.c
parenta0e6e69aa2a26c2dd5a6b3abe5e73c00975a1ab0 (diff)
Corpse ownership
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 9d836776..59ff97e7 100644
--- a/src/game/g_buildable.c
+++ b/src/game/g_buildable.c
@@ -1271,6 +1271,7 @@ gentity_t *Build_Item( gentity_t *ent, buildable_t buildable, int distance ) {
built->s.number = built - g_entities;
built->r.contents = CONTENTS_BODY;
built->clipmask = MASK_PLAYERSOLID;
+ built->builtBy = ent->client->ps.clientNum;
G_SetOrigin( built, origin );
VectorCopy( angles, built->s.angles );
@@ -1283,4 +1284,3 @@ gentity_t *Build_Item( gentity_t *ent, buildable_t buildable, int distance ) {
return built;
}
-