mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-23 18:19:43 +01: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:
parent
49fbe18d34
commit
c009ab67d9
1 changed files with 5 additions and 1 deletions
|
@ -330,10 +330,14 @@ int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
timesteplimit = 24;
|
timesteplimit = 24;
|
||||||
}
|
}
|
||||||
else
|
else if (game.gamestate == GAMEMODE || game.gamestate == MAPMODE || game.gamestate == TELEPORTERMODE)
|
||||||
{
|
{
|
||||||
timesteplimit = game.gameframerate;
|
timesteplimit = game.gameframerate;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
timesteplimit = 34;
|
||||||
|
}
|
||||||
|
|
||||||
while (accumulator >= timesteplimit)
|
while (accumulator >= timesteplimit)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue