X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fclient%2Fteamradar.qc;h=0c0f10204a4773c2da21e2aa6669a46a88d4740a;hb=49aec17ab86b4b27fc372ed122aa3686219e8453;hp=e5dcc00f2c911ffe2d650ed83007d309aa0f6f22;hpb=373da6f709e05d4e1bf696da0b03ef2a880a2583;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/client/teamradar.qc b/qcsrc/client/teamradar.qc index e5dcc00f2..0c0f10204 100644 --- a/qcsrc/client/teamradar.qc +++ b/qcsrc/client/teamradar.qc @@ -172,6 +172,8 @@ float hud_panel_radar_foreground_alpha; float hud_panel_radar_rotation; noref vector hud_panel_radar_size; // fteqcc sucks float hud_panel_radar_zoommode; +float hud_panel_radar_maximized_zoommode; +float hud_panel_radar_maximized_rotation; void teamradar_loadcvars() { @@ -185,6 +187,8 @@ void teamradar_loadcvars() hud_panel_radar_foreground_alpha = autocvar_hud_panel_radar_foreground_alpha * panel_fg_alpha; hud_panel_radar_rotation = autocvar_hud_panel_radar_rotation; hud_panel_radar_zoommode = autocvar_hud_panel_radar_zoommode; + hud_panel_radar_maximized_rotation = autocvar_hud_panel_radar_maximized_rotation; + hud_panel_radar_maximized_zoommode = autocvar_hud_panel_radar_maximized_zoommode; // others default to 0 // match this to defaultXonotic.cfg! @@ -203,7 +207,7 @@ void Ent_RadarLink() InterpolateOrigin_Undo(); - self.iflags = IFLAG_VELOCITY; + self.iflags = IFLAG_VELOCITY | IFLAG_ORIGIN; self.classname = "radarlink"; if(sendflags & 1)