mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-23 01:59:43 +01:00
Don't take editor input when fading out
This fixes being able to re-trigger the fadeout while a fadeout is already happening. It also fixes being able to enter playtesting during the fadeout, which means the level now has a fadeout you normally can't do in actual gameplay.
This commit is contained in:
parent
48a1c7ee61
commit
e184923667
1 changed files with 4 additions and 0 deletions
|
@ -3974,6 +3974,10 @@ static void editormenuactionpress(void)
|
|||
void editorinput(void)
|
||||
{
|
||||
extern editorclass ed;
|
||||
if (graphics.fademode == 3 /* fading out */)
|
||||
{
|
||||
return;
|
||||
}
|
||||
game.mx = (float) key.mx;
|
||||
game.my = (float) key.my;
|
||||
ed.tilex=(game.mx - (game.mx%8))/8;
|
||||
|
|
Loading…
Reference in a new issue