mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-23 18:19:43 +01:00
Fix off-by-one in "- Press ENTER to Teleport -" interpolation
Otherwise it would be clipped off too early, if it was even noticeable without using slowmode.
This commit is contained in:
parent
52f4799405
commit
82a7ff0357
1 changed files with 1 additions and 1 deletions
|
@ -1410,7 +1410,7 @@ void gamerender()
|
||||||
if (game.advancetext) graphics.bprint(5, 5, "- Press ACTION to advance text -", 220 - (help.glow), 220 - (help.glow), 255 - (help.glow / 2), true);
|
if (game.advancetext) graphics.bprint(5, 5, "- Press ACTION to advance text -", 220 - (help.glow), 220 - (help.glow), 255 - (help.glow / 2), true);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (game.readytotele > 100 && !game.advancetext && game.hascontrol && !script.running && !game.intimetrial)
|
if ((game.readytotele > 100 || game.oldreadytotele > 100) && !game.advancetext && game.hascontrol && !script.running && !game.intimetrial)
|
||||||
{
|
{
|
||||||
int alpha = graphics.lerp(game.oldreadytotele, game.readytotele);
|
int alpha = graphics.lerp(game.oldreadytotele, game.readytotele);
|
||||||
if(graphics.flipmode)
|
if(graphics.flipmode)
|
||||||
|
|
Loading…
Reference in a new issue