From: Holger Schemel Date: Sat, 2 Dec 2023 12:11:55 +0000 (+0100) Subject: moved function call (no functional change) X-Git-Tag: 4.3.8.0~21 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=2f2136af253708ed24acbf57150d7c74fab95a9c;p=rocksndiamonds.git moved function call (no functional change) --- diff --git a/src/tools.c b/src/tools.c index ea314a3e..c730e851 100644 --- a/src/tools.c +++ b/src/tools.c @@ -3339,8 +3339,6 @@ static void ShowEnvelopeRequest(char *text, unsigned int req_state, int action) if (action == ACTION_OPENING) { - DrawEnvelopeRequest(text, req_state); - PlayMenuSoundStereo(sound_opening, SOUND_MIDDLE); if (anim_mode == ANIM_DEFAULT) @@ -4973,6 +4971,7 @@ static boolean RequestEnvelope(char *text, unsigned int req_state) DoRequestBefore(req_state); + DrawEnvelopeRequest(text, req_state); ShowEnvelopeRequest(text, req_state, ACTION_OPENING); if (!(req_state & REQUEST_WAIT_FOR_INPUT))