X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Finit.c;h=149b4ef2709e0ef6d6d26cf17cf798c897f85b88;hb=a56f43284d320b60cbeb1ebd097ec6d21d4f4ff1;hp=30ff6b9b31f8975c781a3a30b5654eb91f5e5b79;hpb=cbab48e3ea7c2821978dccb4f299e81e9c567050;p=rocksndiamonds.git diff --git a/src/init.c b/src/init.c index 30ff6b9b..149b4ef2 100644 --- a/src/init.c +++ b/src/init.c @@ -4666,7 +4666,7 @@ static void InitGlobal() global.frames_per_second = 0; - global.border_status = GAME_MODE_MAIN; + global.border_status = GAME_MODE_LOADING; global.anim_status = global.anim_status_next = GAME_MODE_LOADING; global.use_envelope_request = FALSE; @@ -5323,7 +5323,9 @@ void InitGfx() InitGfxDrawBusyAnimFunction(DrawInitAnim); InitGfxDrawGlobalAnimFunction(DrawGlobalAnim); - InitGfxDrawGlobalBorderFunction(DrawMaskedBorderToScreen); + InitGfxDrawGlobalBorderFunction(DrawMaskedBorderToTarget); + + gfx.masked_border_bitmap_ptr = backbuffer; /* use copy of busy animation to prevent change while reloading artwork */ init_last = init;