mirror of
https://github.com/nzp-team/quakespasm.git
synced 2024-11-10 06:32:03 +00:00
NX/VITA: Fix SCREENFLASH_FADE_INANDOUT updating too slow
This commit is contained in:
parent
24c89e197a
commit
c34deca69f
1 changed files with 3 additions and 3 deletions
|
@ -2140,11 +2140,11 @@ void HUD_Screenflash (void)
|
||||||
else {
|
else {
|
||||||
// Fade In
|
// Fade In
|
||||||
if (percentage_complete < 0.5) {
|
if (percentage_complete < 0.5) {
|
||||||
flash_alpha = (float)percentage_complete;
|
flash_alpha = (float)percentage_complete*2;
|
||||||
}
|
}
|
||||||
// Fade Out
|
// Fade Out
|
||||||
else {
|
else {
|
||||||
flash_alpha = invertfloat((float)percentage_complete);
|
flash_alpha = invertfloat((float)percentage_complete)(2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue