Update activity prompt fade in fixed-timestep gamelogic()

Otherwise it goes by too quickly.
This commit is contained in:
Misa authored and Ethan Lee committed 2020-06-19 09:05:48 -04:00
1 parent e897543383
commit 92ee33043d
2 files changed
+16 -6

No files matched your search

+16
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--;
}
}