#ENABLE_SOUND: respect this setting

This commit is contained in:
dwsJason 2019-09-23 20:35:01 -04:00
parent 878dda2444
commit b48a3cf470

View File

@ -139,15 +139,19 @@ screen_introMap(void)
if (control_status & CONTROL_EXIT) /* check for exit request */ if (control_status & CONTROL_EXIT) /* check for exit request */
{ {
#ifdef IIGS #ifdef IIGS
#ifdef ENABLE_SOUND
game_stopmusic(); game_stopmusic();
#endif #endif
#endif
return SCREEN_EXIT; return SCREEN_EXIT;
} }
if (seq == 5) { /* end as soon as key pressed */ if (seq == 5) { /* end as soon as key pressed */
#ifdef IIGS #ifdef IIGS
#ifdef ENABLE_SOUND
game_stopmusic(); game_stopmusic();
#endif #endif
#endif
sysvid_clear(); sysvid_clear();
seq = 0; seq = 0;
return SCREEN_DONE; return SCREEN_DONE;