1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-09-29 17:57:23 +02:00

Only execute flip logic when has_control

This commit is contained in:
leo60228 2021-09-02 14:50:00 -04:00 committed by Misa Elizabeth Kai
parent 58098dc748
commit 72ade2ce49

View file

@ -2238,6 +2238,8 @@ void gameinput(void)
game.tapright = 0; game.tapright = 0;
} }
if (has_control)
{
if (!game.press_action) if (!game.press_action)
{ {
game.jumppressed = 0; game.jumppressed = 0;
@ -2284,8 +2286,8 @@ void gameinput(void)
game.totalflips++; game.totalflips++;
} }
} }
}
if (!has_control) else
{ {
//Simple detection of keypresses outside player control, will probably scrap this (expand on //Simple detection of keypresses outside player control, will probably scrap this (expand on
//advance text function) //advance text function)