dmg indicator cfg (menu)

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1889 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2008-05-06 19:49:55 +00:00
parent 9232e15151
commit cee24ed8de
2 changed files with 5 additions and 3 deletions
+2 -1
View File
@@ -147,6 +147,7 @@ void drawcrosshair(bool showteamwarning)
glEnd();
}
VARP(hidedamageindicator, 0, 0, 1);
VARP(damageindicatorsize, 0, 200, 10000);
VARP(damageindicatordist, 0, 500, 10000);
VARP(damageindicatortime, 1, 1000, 10000);
@@ -155,7 +156,7 @@ int damagedirections[4] = {0};
void updatedmgindicator(vec &attack)
{
if(!damageindicatorsize) return;
if(hidedamageindicator || !damageindicatorsize) return;
float bestdist = 0.0f;
int bestdir = -1;
loopi(4)