mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2025-02-01 21:55:01 +01:00
Fix regression being able to activate activity zones during cutscenes
Since you're now allowed to bring up the map screen during cutscenes, you've also been able to activate activity zones and teleporter prompts during cutscenes. This only really affects custom levels; nowhere in the main game can you overlap with an activity zone while in a cutscene. To fix this, I've just added a script.running check to Enter keybind processing.
This commit is contained in:
parent
4896f475ca
commit
84928f8210
1 changed files with 3 additions and 0 deletions
|
@ -1795,7 +1795,10 @@ void gameinput(void)
|
|||
if (enter_pressed)
|
||||
{
|
||||
game.mapheld = true;
|
||||
}
|
||||
|
||||
if (enter_pressed && !script.running)
|
||||
{
|
||||
if (game.activetele && game.readytotele > 20 && !game.intimetrial)
|
||||
{
|
||||
enter_already_processed = true;
|
||||
|
|
Loading…
Add table
Reference in a new issue