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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user