X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fclient%2Fhud_config.qc;h=9ceec5de005851a45f3d31a4506caf8b5ec473d4;hb=14795863ffe0b7c2859794da85ae3b885b21d159;hp=9682799078d7b9170dc1a4b0a7c5b1d1e2c115f3;hpb=24b3e74d336b3a9f889f384a9cf05e9dee4232a1;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/client/hud_config.qc b/qcsrc/client/hud_config.qc index 9682799078..9ceec5de00 100644 --- a/qcsrc/client/hud_config.qc +++ b/qcsrc/client/hud_config.qc @@ -131,7 +131,7 @@ void HUD_Panel_ExportCfg(string cfgname) HUD_Write_PanelCvar_q("_maximized_scale"); HUD_Write_PanelCvar_q("_maximized_size"); HUD_Write_PanelCvar_q("_maximized_rotation"); - HUD_Write_PanelCvar_q("_maximized_zoommode"); + HUD_Write_PanelCvar_q("_maximized_zoommode"); break; case HUD_PANEL_SCORE: HUD_Write_PanelCvar_q("_rankings"); @@ -981,7 +981,7 @@ void HUD_Panel_FirstInDrawQ(float id) } // now save the new top id panel_order[0] = id; - + // let's save them into the cvar by some strcat trickery string s = ""; for(i = 0; i < HUD_PANEL_NUM; ++i) @@ -1090,10 +1090,10 @@ void HUD_Panel_Mouse() if(autocvar__menu_alpha == 1) return; - if not(autocvar_hud_cursormode) + if (!autocvar_hud_cursormode) { mousepos = mousepos + getmousepos() * autocvar_menu_mouse_speed; - + mousepos_x = bound(0, mousepos_x, vid_conwidth); mousepos_y = bound(0, mousepos_y, vid_conheight); }