mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03:00
Remove script.dontrunnextframe kludge
Now that the game loop order is fixed, this kludge (on top of kludge) is no longer needed, and can be safely removed.
This commit is contained in:
@@ -18,7 +18,6 @@ scriptclass::scriptclass(void)
|
||||
position = 0;
|
||||
scriptdelay = 0;
|
||||
running = false;
|
||||
dontrunnextframe = false;
|
||||
|
||||
b = 0;
|
||||
g = 0;
|
||||
@@ -3492,10 +3491,6 @@ void scriptclass::teleport(void)
|
||||
game.state = 0;
|
||||
load(game.teleportscript);
|
||||
game.teleportscript = "";
|
||||
|
||||
// FIXME: Remove this once game loop order is fixed in 2.4!
|
||||
run();
|
||||
dontrunnextframe = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user