]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
avoid error on startup
authorMartin Taibr <taibr.martin@gmail.com>
Mon, 17 Jul 2017 21:37:55 +0000 (23:37 +0200)
committerMartin Taibr <taibr.martin@gmail.com>
Mon, 17 Jul 2017 21:38:56 +0000 (23:38 +0200)
defaultClient.cfg
sRGB-disable.cfg
sRGB-enable.cfg

index 58d8b157321a3e18db944953a3fd344d654c79d5..8e1ae8cc176d52b2f064c675c76a76ae648cf745 100644 (file)
@@ -89,6 +89,10 @@ vid_conheight 600
 // menu_conwidth, menu_conheight are set inside quake.rc
 v_deathtilt 0 // needed for spectators (who are dead to avoid prediction)
 
 // menu_conwidth, menu_conheight are set inside quake.rc
 v_deathtilt 0 // needed for spectators (who are dead to avoid prediction)
 
+// create a temporary empty alias for menu_sync so that execution of effects-normal.cfg, hud_luma.cfg
+// and sRGB-{disable,enable}.cfg on game start doesn't show an error message in the console
+alias menu_sync "" // will be re-aliased later
+
 // we want to use sRGB for our maps!
 exec sRGB-disable.cfg
 vid_sRGB_fallback 2
 // we want to use sRGB for our maps!
 exec sRGB-disable.cfg
 vid_sRGB_fallback 2
@@ -284,10 +288,6 @@ r_glsl_offsetmapping_lod 1
 r_glsl_offsetmapping_reliefmapping 0
 r_glsl_offsetmapping_scale 0.02
 
 r_glsl_offsetmapping_reliefmapping 0
 r_glsl_offsetmapping_scale 0.02
 
-// create a temporary empty alias for menu_sync so that execution of effects-normal.cfg
-// on game start doesn't show an error message in the console
-alias menu_sync "" // will be re-aliased later
-
 scr_conalpha 1
 scr_conbrightness 0.2
 scr_screenshot_jpeg 1
 scr_conalpha 1
 scr_conbrightness 0.2
 scr_screenshot_jpeg 1
@@ -816,7 +816,7 @@ exec _hud_descriptions.cfg
 // please add any new cvars into the hud_save script in qcsrc/client/hud_config.qc for consistency
 exec hud_luma.cfg
 
 // please add any new cvars into the hud_save script in qcsrc/client/hud_config.qc for consistency
 exec hud_luma.cfg
 
-// enable menu syncing
+// enable menu syncing - must be after files that call menu_sync on startup - see alias menu_sync ""
 alias menu_sync "menu_cmd sync"
 
 seta cl_items_nofade 0
 alias menu_sync "menu_cmd sync"
 
 seta cl_items_nofade 0
index de047606960e58d730efcd8b8913232a4551b7de..930a0e7b1d2c12f89149645d2bb646e7ba8c5904 100644 (file)
@@ -4,4 +4,4 @@ mod_q3bsp_sRGBlightmaps 0
 r_hdr_scenebrightness 1
 r_ambient 4
 
 r_hdr_scenebrightness 1
 r_ambient 4
 
-menu_cmd sync
+menu_sync
index a8ff4ccff2b774c7603678a83862b65f23aecb14..107fdd50c23c289f53b3349fd62d7c34b0abc1ff 100644 (file)
@@ -4,4 +4,4 @@ mod_q3bsp_sRGBlightmaps 1
 r_hdr_scenebrightness 1
 r_ambient 0.25
 
 r_hdr_scenebrightness 1
 r_ambient 0.25
 
-menu_cmd sync
+menu_sync