From: Mario Date: Sat, 24 Jan 2015 10:20:18 +0000 (+1100) Subject: Fix some cases of noref X-Git-Tag: xonotic-v0.8.1~133^2~43 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=23a98beb1d6d571c3562520a92e250cfa2d3af71;p=xonotic%2Fxonotic-data.pk3dir.git Fix some cases of noref --- diff --git a/qcsrc/client/hud.qh b/qcsrc/client/hud.qh index a4f9d4c76..eb960a29c 100644 --- a/qcsrc/client/hud.qh +++ b/qcsrc/client/hud.qh @@ -40,8 +40,8 @@ float teamnagger; float hud_configure_checkcollisions; float hud_configure_prev; -noref vector hud_configure_gridSize; // fteqcc sucks -noref vector hud_configure_realGridSize; // fteqcc sucks +vector hud_configure_gridSize; +vector hud_configure_realGridSize; float hudShiftState; const float S_SHIFT = 1; diff --git a/qcsrc/client/teamradar.qc b/qcsrc/client/teamradar.qc index 0c0f10204..c4078a6af 100644 --- a/qcsrc/client/teamradar.qc +++ b/qcsrc/client/teamradar.qc @@ -170,7 +170,7 @@ void draw_teamradar_link(vector start, vector end, float colors) float hud_panel_radar_scale; float hud_panel_radar_foreground_alpha; float hud_panel_radar_rotation; -noref vector hud_panel_radar_size; // fteqcc sucks +vector hud_panel_radar_size; float hud_panel_radar_zoommode; float hud_panel_radar_maximized_zoommode; float hud_panel_radar_maximized_rotation; diff --git a/qcsrc/common/constants.qh b/qcsrc/common/constants.qh index 07cf482f2..316d7fb8b 100644 --- a/qcsrc/common/constants.qh +++ b/qcsrc/common/constants.qh @@ -274,13 +274,13 @@ const float SERVERFLAG_TEAMPLAY = 2; const float SERVERFLAG_PLAYERSTATS = 4; // FIXME/EXPLAINME: why? -noref var vector autocvar_sv_player_maxs = '16 16 45'; -noref var vector autocvar_sv_player_mins = '-16 -16 -24'; -noref var vector autocvar_sv_player_viewoffset = '0 0 20'; -noref var vector autocvar_sv_player_crouch_maxs = '16 16 25'; -noref var vector autocvar_sv_player_crouch_mins = '-16 -16 -24'; -noref var vector autocvar_sv_player_crouch_viewoffset = '0 0 20'; -noref var vector autocvar_sv_player_headsize = '24 24 12'; +vector autocvar_sv_player_maxs = '16 16 45'; +vector autocvar_sv_player_mins = '-16 -16 -24'; +vector autocvar_sv_player_viewoffset = '0 0 20'; +vector autocvar_sv_player_crouch_maxs = '16 16 25'; +vector autocvar_sv_player_crouch_mins = '-16 -16 -24'; +vector autocvar_sv_player_crouch_viewoffset = '0 0 20'; +vector autocvar_sv_player_headsize = '24 24 12'; #define PL_VIEW_OFS autocvar_sv_player_viewoffset #define PL_MIN autocvar_sv_player_mins