From 9f5a8e06b344defe6bfd1716c662c4c3aa59b371 Mon Sep 17 00:00:00 2001 From: mand1nga Date: Mon, 11 Apr 2011 09:35:49 -0300 Subject: [PATCH] Indentation fascist reporting for duty\! --- qcsrc/client/hud.qc | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/qcsrc/client/hud.qc b/qcsrc/client/hud.qc index 37f10b884..ce8b608fc 100644 --- a/qcsrc/client/hud.qc +++ b/qcsrc/client/hud.qc @@ -89,7 +89,7 @@ void draw_BorderPicture(vector theOrigin, string pic, vector theSize, vector the vector HUD_Get_Num_Color (float x, float maxvalue) { - float blinkingamt; + float blinkingamt; vector color; if(x >= maxvalue) { color_x = sin(2*M_PI*time); @@ -122,13 +122,13 @@ vector HUD_Get_Num_Color (float x, float maxvalue) color_z = 0; } - blinkingamt = (1 - x/maxvalue/0.25); - if(blinkingamt > 0) - { - color_x = color_x - color_x * blinkingamt * sin(2*M_PI*time); - color_y = color_y - color_y * blinkingamt * sin(2*M_PI*time); - color_z = color_z - color_z * blinkingamt * sin(2*M_PI*time); - } + blinkingamt = (1 - x/maxvalue/0.25); + if(blinkingamt > 0) + { + color_x = color_x - color_x * blinkingamt * sin(2*M_PI*time); + color_y = color_y - color_y * blinkingamt * sin(2*M_PI*time); + color_z = color_z - color_z * blinkingamt * sin(2*M_PI*time); + } return color; } -- 2.39.2