mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 09:28:15 +03:00
Increment total flips for flip tokens and flipgravity(player)
They flip the player, they should count towards total flips like gravity lines do.
This commit is contained in:
@@ -2606,6 +2606,7 @@ bool entityclass::updateentities( int i )
|
||||
if (entities[i].state == 1)
|
||||
{
|
||||
game.gravitycontrol = (game.gravitycontrol + 1) % 2;
|
||||
++game.totalflips;
|
||||
return disableentity(i);
|
||||
|
||||
}
|
||||
|
||||
@@ -1006,6 +1006,7 @@ void scriptclass::run(void)
|
||||
if (words[1] == "player")
|
||||
{
|
||||
game.gravitycontrol = !game.gravitycontrol;
|
||||
++game.totalflips;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user