mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-30 09:54:10 +03:00
Update activity prompt fade in fixed-timestep gamelogic()
Otherwise it goes by too quickly.
This commit is contained in:
@@ -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