Small refactoring/cleanup.
This commit is contained in:
parent
aa22b7d3b5
commit
749ccd80b6
7 changed files with 55 additions and 72 deletions
|
|
@ -59,12 +59,12 @@ extend Class SWWMHandler
|
|||
if ( gametic < hflash[camplayer] )
|
||||
{
|
||||
double fstr = (hflash[camplayer]-(gametic+e.FracTic))/5.;
|
||||
Screen.Dim(Color(64,128,255),.1875*fstr*pickup_fade_scalar,0,0,Screen.GetWidth(),Screen.GetHeight());
|
||||
Screen.Dim(Color(64,128,255),.1875*fstr*pickup_fade_scalar,0,0,Screen.GetWidth(),Screen.GetHeight(),STYLE_Add);
|
||||
}
|
||||
if ( gametic < aflash[camplayer] )
|
||||
{
|
||||
double fstr = (aflash[camplayer]-(gametic+e.FracTic))/5.;
|
||||
Screen.Dim(Color(96,255,64),.1875*fstr*pickup_fade_scalar,0,0,Screen.GetWidth(),Screen.GetHeight());
|
||||
Screen.Dim(Color(96,255,64),.1875*fstr*pickup_fade_scalar,0,0,Screen.GetWidth(),Screen.GetHeight(),STYLE_Add);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue