mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-23 01:59:43 +01:00
Set alpha to 1 in 30-FPS-only mode
This is to make sure no lerping occurs in 30-FPS mode, otherwise things might look weird. A good case that this fixes is how entities look in a double-gotoroom (they should be completely frozen in 30-FPS mode).
This commit is contained in:
parent
694e8f42ab
commit
18ecc00d6d
1 changed files with 1 additions and 1 deletions
|
@ -585,7 +585,7 @@ int main(int argc, char *argv[])
|
|||
graphics.processfade();
|
||||
game.gameclock();
|
||||
}
|
||||
const float alpha = static_cast<float>(accumulator) / timesteplimit;
|
||||
const float alpha = game.over30mode ? static_cast<float>(accumulator) / timesteplimit : 1.0f;
|
||||
graphics.alpha = alpha;
|
||||
|
||||
if (game.infocus)
|
||||
|
|
Loading…
Reference in a new issue