Merge pull request #158 from AllyTally/entertoreturn

Make "[Press ENTER to return to editor]" fade out after a bit
This commit is contained in:
Terry Cavanagh
2020-02-10 18:41:13 +01:00
committed by GitHub
6 changed files with 50 additions and 13 deletions

View File

@@ -4577,6 +4577,7 @@ void editorinput( KeyPoll& key, Graphics& dwgfx, Game& game, mapclass& map, enti
music.stopmusic();
dwgfx.backgrounddrawn=false;
ed.returneditoralpha = 1000; // Let's start it higher than 255 since it gets clamped
script.startgamemode(21, key, dwgfx, game, map, obj, help, music);
}
//Return to game