1
0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-06-02 02:53:32 +02: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:
Misa 2021-03-05 10:18:46 -08:00 committed by Ethan Lee
parent 4896f475ca
commit 84928f8210

View File

@ -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;