damageblend(-1) fix

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3468 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2008-11-09 00:16:38 +00:00
parent ce56e5f1b6
commit 33ee6811fa
+1 -1
View File
@@ -481,7 +481,7 @@ VARP(damagescreenfade, 0, 200, 1000);
void damageblend(int n)
{
if(!damagescreen || n<0) return;
if(!damagescreen) return;
if(lastmillis > damageblendmillis) damageblendmillis = lastmillis;
damageblendmillis += n*damagescreenfactor;
}