mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03:00
state locking
This commit is contained in:
committed by
Misa Elizabeth Kai
parent
01d2cdd42a
commit
4b66920865
@@ -1098,10 +1098,10 @@ void mapclass::gotoroom(int rx, int ry)
|
||||
{
|
||||
if (!obj.flags[5] && !finalmode)
|
||||
{
|
||||
game.state = 0;
|
||||
game.setstate(0);
|
||||
if (game.roomx == 113 && game.roomy == 104)
|
||||
{
|
||||
game.state = 50;
|
||||
game.setstate(50);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -2289,7 +2289,7 @@ void mapclass::twoframedelayfix(void)
|
||||
|
||||
game.newscript = obj.blocks[block_idx].script;
|
||||
obj.removetrigger(activetrigger);
|
||||
game.state = 0;
|
||||
game.setstate(0);
|
||||
game.statedelay = 0;
|
||||
script.load(game.newscript);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user