mirror of
https://github.com/nzp-team/dquakeplus.git
synced 2024-11-09 22:21:49 +00:00
Fix SCREENFLASH_FADE_INANDOUT updating too slow
This commit is contained in:
parent
7792b98eaa
commit
5bf8349094
1 changed files with 2 additions and 2 deletions
|
@ -1513,11 +1513,11 @@ void HUD_Screenflash (void)
|
|||
else {
|
||||
// Fade In
|
||||
if (percentage_complete < 0.5) {
|
||||
flash_alpha = (float)percentage_complete;
|
||||
flash_alpha = (float)percentage_complete*2;
|
||||
}
|
||||
// Fade Out
|
||||
else {
|
||||
flash_alpha = invertfloat((float)percentage_complete);
|
||||
flash_alpha = invertfloat((float)percentage_complete)(2;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue