1
0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-06-25 22:18:30 +02: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:
Misa 2020-05-02 13:58:25 -07:00 committed by Ethan Lee
parent 49fbe18d34
commit c009ab67d9

View File

@ -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)
{