Skip to content

Commit

Permalink
phase/inventory: kill music for loading screens
Browse files Browse the repository at this point in the history
Resolves #1245
  • Loading branch information
rr- committed Apr 2, 2024
1 parent 0022d26 commit fb52d1a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/game/phase/phase_inventory.c
Original file line number Diff line number Diff line change
Expand Up @@ -1010,6 +1010,10 @@ static void Phase_Inventory_End(void)
if (g_Config.enable_buffering) {
g_OldInputDB.any = 0;
}
if (g_InvMode == INV_TITLE_MODE) {
Music_Stop();
Sound_StopAllSamples();
}
}

static void Phase_Inventory_Draw(void)
Expand Down

0 comments on commit fb52d1a

Please sign in to comment.