1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-22 17:49:43 +01: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:
Misa 2021-08-22 20:39:05 -07:00
parent 8329afc6df
commit 52918ba510
2 changed files with 2 additions and 0 deletions

View file

@ -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);
}

View file

@ -1006,6 +1006,7 @@ void scriptclass::run(void)
if (words[1] == "player")
{
game.gravitycontrol = !game.gravitycontrol;
++game.totalflips;
}
else
{