]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Don't attach LOD models to triggers
authorMario <mario@smbclan.net>
Fri, 22 Jun 2018 00:33:05 +0000 (10:33 +1000)
committerMario <mario@smbclan.net>
Fri, 22 Jun 2018 00:33:05 +0000 (10:33 +1000)
qcsrc/common/mapobjects/subs.qc

index 4877d0fb499589034306574c0194d4f63b1b60b9..f9e50dcf8f19d819509c9c6a460050da0a120954 100644 (file)
@@ -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 = "";