X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Feditor.c;h=134a3fcb193323817d65f8a7d32595acfe0e62b2;hb=5c94351c5b8a12d8615b447b6275dd2f68615be4;hp=aceedf17b3bec3652c04116d07ac5fb1935c82f1;hpb=884012f34f9f3c22bf75d1468e4ed57d7795a24b;p=rocksndiamonds.git diff --git a/src/editor.c b/src/editor.c index aceedf17..134a3fcb 100644 --- a/src/editor.c +++ b/src/editor.c @@ -7051,24 +7051,14 @@ void DrawLevelEd() #endif MapControlButtons(); -#if 0 - fading = menu.navigation; -#endif - #if 1 - if (fading.anim_mode == ANIM_CROSSFADE) - FadeCrossSaveBackbuffer(); - else - FadeOut(REDRAW_FIELD); + FadeOut(REDRAW_FIELD); #endif DrawEditModeWindow(); #if 1 - if (fading.anim_mode == ANIM_CROSSFADE) - FadeCross(REDRAW_FIELD); - else - FadeIn(REDRAW_FIELD); + FadeIn(REDRAW_FIELD); #endif /* copy actual editor door content to door double buffer for OpenDoor() */ @@ -11361,8 +11351,13 @@ void RequestExitLevelEditor(boolean ask_if_level_has_changed, CloseDoor(DOOR_CLOSE_1); SetDoorState(DOOR_CLOSE_2); +#if 1 + if (quick_quit) + FadeSkipNextFadeIn(); +#else if (quick_quit) fading = fading_none; +#endif game_status = GAME_MODE_MAIN; #if 1