mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-22 17:49: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;
|
||||
}
|
||||
|
||||
if (has_control)
|
||||
{
|
||||
if (!game.press_action)
|
||||
{
|
||||
game.jumppressed = 0;
|
||||
|
@ -2284,8 +2286,8 @@ void gameinput(void)
|
|||
game.totalflips++;
|
||||
}
|
||||
}
|
||||
|
||||
if (!has_control)
|
||||
}
|
||||
else
|
||||
{
|
||||
//Simple detection of keypresses outside player control, will probably scrap this (expand on
|
||||
//advance text function)
|
||||
|
|
Loading…
Reference in a new issue