From: Mircea Kitsune Date: Thu, 24 Jun 2010 15:12:58 +0000 (+0300) Subject: Comments X-Git-Tag: xonotic-v0.1.0preview~501^2~1^2~11 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=9e0b4f0b499a68248e673665917ffcc3fd436126;p=xonotic%2Fxonotic-data.pk3dir.git Comments --- diff --git a/qcsrc/client/View.qc b/qcsrc/client/View.qc index e363e893e..9e91a73b5 100644 --- a/qcsrc/client/View.qc +++ b/qcsrc/client/View.qc @@ -552,8 +552,10 @@ void CSQC_UpdateView(float w, float h) // next R_RenderScene call drawstring('0 0 0', "", '1 1 0', '1 1 1', 0, 0); - // draw the aiming reticle for weapons that use it (eg. Nex) - // reticle_type is changed to the item we are zooming or aiming with, to decide which reticle to use + // Draw the aiming reticle for weapons that use it + // reticle_type is changed to the item we are zooming / aiming with, to decide which reticle to use + // It must be a persisted float for fading out to work properly (you let go of the zoom button for + // the view to go back to normal, so reticle_type would become 0 as we fade out and use that reticle) if(button_zoom) reticle_type = 0; // normal zoom else if(activeweapon == WEP_NEX && button_attack2)