X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fclient%2Fteamradar.qc;h=96fd5ee977695877739119e0ba69427588649859;hp=2664354110b0631ee7617d99fe0d73b210cef44c;hb=068324d293df795dbc41de75f38256b8c6c35607;hpb=1d0313b550f20ceef79a51c4c8a2029eb673d979 diff --git a/qcsrc/client/teamradar.qc b/qcsrc/client/teamradar.qc index 266435411..96fd5ee97 100644 --- a/qcsrc/client/teamradar.qc +++ b/qcsrc/client/teamradar.qc @@ -2,7 +2,7 @@ #include "hud/all.qh" -#include "../common/mutators/mutator/waypoints/all.qh" +#include #include "../lib/csqcmodel/interpolate.qh" @@ -198,29 +198,29 @@ NET_HANDLE(ENT_CLIENT_RADARLINK, bool isnew) { int sendflags = ReadByte(); - InterpolateOrigin_Undo(self); + InterpolateOrigin_Undo(this); - self.iflags = IFLAG_VELOCITY | IFLAG_ORIGIN; - self.classname = "radarlink"; + this.iflags = IFLAG_VELOCITY | IFLAG_ORIGIN; + this.classname = "radarlink"; if(sendflags & 1) { - self.origin_x = ReadCoord(); - self.origin_y = ReadCoord(); - self.origin_z = ReadCoord(); - setorigin(self, self.origin); + this.origin_x = ReadCoord(); + this.origin_y = ReadCoord(); + this.origin_z = ReadCoord(); + setorigin(this, this.origin); } if(sendflags & 2) { - self.velocity_x = ReadCoord(); - self.velocity_y = ReadCoord(); - self.velocity_z = ReadCoord(); + this.velocity_x = ReadCoord(); + this.velocity_y = ReadCoord(); + this.velocity_z = ReadCoord(); } if(sendflags & 4) { - self.team = ReadByte(); + this.team = ReadByte(); } return = true;