summaryrefslogtreecommitdiff
path: root/src/game/g_buildable.c
diff options
context:
space:
mode:
author/dev/humancontroller <devhc@example.com>2014-07-14 16:09:38 +0200
committer/dev/humancontroller <devhc@example.com>2017-03-09 13:51:17 +0100
commite1b070c720d81d2eb7ccee279488bfc497b96567 (patch)
tree9ca0687a47ea6dabc0f90c74c8201f1ec8a48955 /src/game/g_buildable.c
parentc3142a1b4cff9432a809b30d953b8a16e107065c (diff)
give buildable placeholders the "builder" classname; give the "func_door_model_clip_brush" classname to clip brush entities for func_door_model entities
Diffstat (limited to 'src/game/g_buildable.c')
-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 7a6ad366..09375552 100644
--- a/src/game/g_buildable.c
+++ b/src/game/g_buildable.c
@@ -4269,6 +4269,7 @@ static void G_LayoutBuildItem( buildable_t buildable, vec3_t origin,
gentity_t *builder;
builder = G_Spawn( );
+ builder->classname = "builder";
VectorCopy( origin, builder->r.currentOrigin );
VectorCopy( angles, builder->r.currentAngles );
VectorCopy( origin2, builder->s.origin2 );
@@ -4558,6 +4559,7 @@ void G_BuildLogRevert( int id )
else
{
gentity_t *builder = G_Spawn();
+ builder->classname = "builder";
VectorCopy( log->origin, builder->r.currentOrigin );
VectorCopy( log->angles, builder->r.currentAngles );