X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fmapobjects%2Ftrigger%2Fviewloc.qc;h=4679e75f7f0f521c4248676365578de1e10b6851;hb=ce80a3d3800ee2f5ce8a8d93ccb6b835a46ec5f6;hp=c8c0836117a519fb13f4066f688931a236cb8db6;hpb=c05104bde1e758c4022f9755f02f177aa0476134;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/mapobjects/trigger/viewloc.qc b/qcsrc/common/mapobjects/trigger/viewloc.qc index c8c083611..4679e75f7 100644 --- a/qcsrc/common/mapobjects/trigger/viewloc.qc +++ b/qcsrc/common/mapobjects/trigger/viewloc.qc @@ -142,13 +142,11 @@ void viewloc_link(entity this) spawnfunc(target_viewlocation_start) { - this.classname = "target_viewlocation_start"; this.cnt = 1; viewloc_link(this); } spawnfunc(target_viewlocation_end) { - this.classname = "target_viewlocation_end"; this.cnt = 2; viewloc_link(this); } @@ -189,7 +187,6 @@ NET_HANDLE(ENT_CLIENT_VIEWLOC_TRIGGER, bool isnew) setthink(this, trigger_viewloc_updatelink); this.nextthink = time + 1; // we need to delay this or else - this.classname = "trigger_viewlocation"; this.drawmask = MASK_NORMAL; // not so concerned, but better keep it alive }