mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 09:28:15 +03:00
Make slowdown only apply in GAMEMODE/MAPMODE/TELEPORTERMODE
As much as it looks cool to have a slowly-scrolling background on the title screen, it's quite annoying that slowmode applying on the title screen mean that your keypresses are less responsive.
This commit is contained in:
@@ -330,10 +330,14 @@ int main(int argc, char *argv[])
|
||||
{
|
||||
timesteplimit = 24;
|
||||
}
|
||||
else
|
||||
else if (game.gamestate == GAMEMODE || game.gamestate == MAPMODE || game.gamestate == TELEPORTERMODE)
|
||||
{
|
||||
timesteplimit = game.gameframerate;
|
||||
}
|
||||
else
|
||||
{
|
||||
timesteplimit = 34;
|
||||
}
|
||||
|
||||
while (accumulator >= timesteplimit)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user