From 0ef99e5fbbfec0064c0bd6fb0857519451d6b041 Mon Sep 17 00:00:00 2001 From: terencehill Date: Wed, 13 Feb 2013 13:58:36 +0100 Subject: [PATCH] Small optimization of the freezetag/ca panel code (do the same for the dom panel since the code is identical) --- qcsrc/client/hud.qc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/qcsrc/client/hud.qc b/qcsrc/client/hud.qc index c9625ffd4..e14439aa8 100644 --- a/qcsrc/client/hud.qc +++ b/qcsrc/client/hud.qc @@ -3369,11 +3369,11 @@ void HUD_Mod_CA(vector myPos, vector mySize) int i; float row = 0, column = 0; + vector pos, itemSize; + itemSize = eX * mySize_x*(1/columns) + eY * mySize_y*(1/rows); for(i=0; i