X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fscreens.c;h=aeef4fece33dbe8cc71e68bf45157f5d5d2ed26c;hb=90e8811a711b5daa481c1c3a36a9cbeae4ad233c;hp=5bcaa1d5abb047a22033ac7e0356575f7da8ab48;hpb=14b5ed161164a42c7513700fe101c4bd2e3b63e3;p=rocksndiamonds.git diff --git a/src/screens.c b/src/screens.c index 5bcaa1d5..aeef4fec 100644 --- a/src/screens.c +++ b/src/screens.c @@ -1481,6 +1481,11 @@ void DrawMainMenuExt(int fade_mask, boolean do_fading) MapTapeButtons(); MapScreenMenuGadgets(SCREEN_MASK_MAIN); +#if 1 + /* copy actual game door content to door double buffer for OpenDoor() */ + BlitBitmap(drawto, bitmap_db_door_2, VX, VY, VXSIZE, VYSIZE, 0, 0); +#endif + #if 1 if (fade_mask == REDRAW_ALL) { @@ -1958,6 +1963,10 @@ void HandleMainMenu(int mx, int my, int dx, int dy, int button) game_status = GAME_MODE_SETUP; setup_mode = SETUP_MODE_MAIN; +#if 1 + ChangeViewportPropertiesIfNeeded(); +#endif + DrawSetupScreen(); } else if (pos == MAIN_CONTROL_QUIT)