mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Less extreme shrink darken
This commit is contained in:
parent
d3316ff614
commit
3aabdb4e98
1 changed files with 2 additions and 1 deletions
|
|
@ -944,11 +944,12 @@ void P_Ticker(boolean run)
|
|||
|
||||
|
||||
const fixed_t darkdelta = FRACUNIT/50;
|
||||
const fixed_t maxdark = FRACUNIT/7;
|
||||
if (darktimer) // dark or darkening
|
||||
{
|
||||
darktimer--;
|
||||
darkness += darkdelta;
|
||||
darkness = min(darkness, FRACUNIT/6);
|
||||
darkness = min(darkness, maxdark);
|
||||
}
|
||||
else if (darkness >= darkdelta) // lightening
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue