diff options
-rw-r--r-- | src/game/g_buildable.c | 2 | ||||
-rw-r--r-- | src/game/g_mover.c | 1 |
2 files changed, 3 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 ); diff --git a/src/game/g_mover.c b/src/game/g_mover.c index d0620118..a4f52867 100644 --- a/src/game/g_mover.c +++ b/src/game/g_mover.c @@ -1704,6 +1704,7 @@ void SP_func_door_model( gentity_t *ent ) //brush model clipBrush = ent->clipBrush = G_Spawn( ); + clipBrush->classname = "func_door_model_clip_brush"; clipBrush->model = ent->model; trap_SetBrushModel( clipBrush, clipBrush->model ); clipBrush->s.eType = ET_INVISIBLE; |