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:
parent
8329afc6df
commit
52918ba510
2 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue