Skip to content

Commit

Permalink
fix audio carrying over between story so far levels
Browse files Browse the repository at this point in the history
  • Loading branch information
walkawayy committed Sep 23, 2023
1 parent c539d37 commit 48dac1a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/game/gameflow.c
Original file line number Diff line number Diff line change
Expand Up @@ -1449,13 +1449,16 @@ GameFlow_StorySoFar(int32_t level_num, int32_t savegame_level)
break;

case GFS_EXIT_TO_TITLE:
Music_Stop();
return GF_EXIT_TO_TITLE;

case GFS_EXIT_TO_LEVEL:
Music_Stop();
return GF_START_GAME
| ((int32_t)(intptr_t)seq->data & ((1 << 6) - 1));

case GFS_EXIT_TO_CINE:
Music_Stop();
return GF_START_CINE
| ((int32_t)(intptr_t)seq->data & ((1 << 6) - 1));

Expand Down

0 comments on commit 48dac1a

Please sign in to comment.