mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03:00
Only execute flip logic when has_control
This commit is contained in:
committed by
Misa Elizabeth Kai
parent
58098dc748
commit
72ade2ce49
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user