Update activity prompt fade in fixed-timestep gamelogic()

Otherwise it goes by too quickly.
This commit is contained in:
Misa
2020-04-28 18:15:26 -07:00
committed by Ethan Lee
parent e897543383
commit 92ee33043d
2 changed files with 16 additions and 6 deletions

View File

@@ -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--;
}
}