mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-31 10:14:40 +03:00
Fix off-by-one in interpolation of extending gravity line
Currently it interpolates it based on the current state of game.swngame, but when game.swngame changes the interpolation doesn't know that it has JUST changed or anything. So add a kludge variable to fix this off-by-one.
This commit is contained in:
@@ -442,6 +442,7 @@ void gamelogic()
|
||||
game.lifesequence();
|
||||
}
|
||||
|
||||
graphics.kludgeswnlinewidth = false;
|
||||
|
||||
if (game.deathseq != -1)
|
||||
{
|
||||
@@ -747,6 +748,7 @@ void gamelogic()
|
||||
{
|
||||
obj.entities[obj.getlineat(84 - 32)].w = 332;
|
||||
game.swngame = 2;
|
||||
graphics.kludgeswnlinewidth = true;
|
||||
}
|
||||
}
|
||||
else if (game.swngame == 4) //create top line
|
||||
|
||||
Reference in New Issue
Block a user