mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-23 01:59:43 +01:00
Only execute flip logic when has_control
This commit is contained in:
parent
58098dc748
commit
72ade2ce49
1 changed files with 39 additions and 37 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue