1
0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-06-01 18:43:33 +02: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
{