From: Mario Date: Fri, 22 Jun 2018 00:33:05 +0000 (+1000) Subject: Don't attach LOD models to triggers X-Git-Tag: xonotic-v0.8.5~1994 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=8cb8cc7491434e2115471560da36b26f456df893;p=xonotic%2Fxonotic-data.pk3dir.git Don't attach LOD models to triggers --- diff --git a/qcsrc/common/mapobjects/subs.qc b/qcsrc/common/mapobjects/subs.qc index 4877d0fb4..f9e50dcf8 100644 --- a/qcsrc/common/mapobjects/subs.qc +++ b/qcsrc/common/mapobjects/subs.qc @@ -553,7 +553,7 @@ void InitTrigger(entity this) // to mean no restrictions, so use a yaw of 360 instead. SetMovedir(this); this.solid = SOLID_TRIGGER; - SetBrushEntityModel(this); + SetBrushEntityModelNoLOD(this); set_movetype(this, MOVETYPE_NONE); this.modelindex = 0; this.model = ""; @@ -565,7 +565,7 @@ void InitSolidBSPTrigger(entity this) // to mean no restrictions, so use a yaw of 360 instead. SetMovedir(this); this.solid = SOLID_BSP; - SetBrushEntityModel(this); + SetBrushEntityModelNoLOD(this); set_movetype(this, MOVETYPE_NONE); // why was this PUSH? -div0 // this.modelindex = 0; this.model = "";