#ENABLE_SOUND: respect this setting

This commit is contained in:
dwsJason 2019-09-23 20:35:01 -04:00
parent 878dda2444
commit b48a3cf470
1 changed files with 4 additions and 0 deletions

View File

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