mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-11-24 22:34:21 +03:00
Update activity prompt fade in fixed-timestep gamelogic()
Otherwise it goes by too quickly.
This commit is contained in:
1 parent
e897543383
commit
92ee33043d
2 files changed
+16
-6
No files matched your search
@@ -1479,4 +1479,20 @@ void gamelogic()
|
||||
game.returntoeditor();
|
||||
}
|
||||
#endif
|
||||
|
||||
if (game.activeactivity > -1)
|
||||
{
|
||||
if (game.act_fade < 5)
|
||||
{
|
||||
game.act_fade = 5;
|
||||
}
|
||||
if (game.act_fade < 10)
|
||||
{
|
||||
game.act_fade++;
|
||||
}
|
||||
}
|
||||
else if (game.act_fade > 5)
|
||||
{
|
||||
game.act_fade--;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user