summaryrefslogtreecommitdiff
path: root/src/game/g_mover.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_mover.c')
-rw-r--r--src/game/g_mover.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/g_mover.c b/src/game/g_mover.c
index a4f52867..cae97ea2 100644
--- a/src/game/g_mover.c
+++ b/src/game/g_mover.c
@@ -1705,6 +1705,7 @@ void SP_func_door_model( gentity_t *ent )
//brush model
clipBrush = ent->clipBrush = G_Spawn( );
clipBrush->classname = "func_door_model_clip_brush";
+ clipBrush->clipBrush = ent; // link back
clipBrush->model = ent->model;
trap_SetBrushModel( clipBrush, clipBrush->model );
clipBrush->s.eType = ET_INVISIBLE;