From: terencehill Date: Sun, 12 Dec 2010 13:50:56 +0000 (+0100) Subject: Fade waypoints out opening the menu (like it was before) X-Git-Tag: xonotic-v0.1.0preview~31^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=0370dd4fe2bcb6c374686c89614b59ea83b9dd58;p=xonotic%2Fxonotic-data.pk3dir.git Fade waypoints out opening the menu (like it was before) PS: Commit:250e9f56c0d1f61f6cf366d90671a79d45049c21 Why was waypointsprite alpha not set? Because waypointsprite_alpha initialization was removed merging my previous changes :) --- diff --git a/qcsrc/client/waypointsprites.qc b/qcsrc/client/waypointsprites.qc index 2cd50789f..1a3557983 100644 --- a/qcsrc/client/waypointsprites.qc +++ b/qcsrc/client/waypointsprites.qc @@ -425,7 +425,7 @@ void WaypointSprite_Load() waypointsprite_distancefadealpha = autocvar_g_waypointsprite_distancefadealpha; waypointsprite_distancefadescale = autocvar_g_waypointsprite_distancefadescale; waypointsprite_distancefadedistance = waypointsprite_fadedistance * autocvar_g_waypointsprite_distancefadedistancemultiplier; - waypointsprite_alpha = autocvar_g_waypointsprite_alpha; + waypointsprite_alpha = autocvar_g_waypointsprite_alpha * (1 - autocvar__menu_alpha); if(!waypointsprite_initialized) {