diff --git a/desktop_version/src/Entity.cpp b/desktop_version/src/Entity.cpp index a9cd394d..efa6c3cc 100644 --- a/desktop_version/src/Entity.cpp +++ b/desktop_version/src/Entity.cpp @@ -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); } diff --git a/desktop_version/src/Script.cpp b/desktop_version/src/Script.cpp index 310a3be7..7f2d9273 100644 --- a/desktop_version/src/Script.cpp +++ b/desktop_version/src/Script.cpp @@ -1006,6 +1006,7 @@ void scriptclass::run(void) if (words[1] == "player") { game.gravitycontrol = !game.gravitycontrol; + ++game.totalflips; } else {