From: Holger Schemel Date: Wed, 6 Apr 2022 21:46:25 +0000 (+0200) Subject: added using busy animation on non-loading screens X-Git-Tag: 4.3.2.0~35 X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=commitdiff_plain;h=1143cb6efb150856b2c19b0674e172436959dde3 added using busy animation on non-loading screens --- diff --git a/src/tape.c b/src/tape.c index e0491485..032ea833 100644 --- a/src/tape.c +++ b/src/tape.c @@ -1378,17 +1378,6 @@ boolean PlaySolutionTape(void) return TRUE; } -static void PlayScoreTape_UpdateBusyState(void) -{ - int game_status_last = game_status; - - SetGameStatus(GAME_MODE_LOADING); - - UPDATE_BUSY_STATE(); - - SetGameStatus(game_status_last); -} - static boolean PlayScoreTape_WaitForDownload(void) { unsigned int download_delay = 0; @@ -1402,7 +1391,7 @@ static boolean PlayScoreTape_WaitForDownload(void) if (DelayReached(&download_delay, download_delay_value)) return FALSE; - PlayScoreTape_UpdateBusyState(); + UPDATE_BUSY_STATE_NOT_LOADING(); Delay(20); }