diff options
author | Seth Barberee <seth.barberee@gmail.com> | 2021-06-28 14:28:21 -0500 |
---|---|---|
committer | Seth Barberee <seth.barberee@gmail.com> | 2021-06-28 14:28:21 -0500 |
commit | f308c79eba1ba8e6bc2134529a2e4f4f21c9c2c2 (patch) | |
tree | 8cda9e14196a74c54e10db503bb494b14d7c32d2 /src/music_pre.c | |
parent | 7d9a587432ca4cc608b3fa4ddd060ad7c37fbf8b (diff) |
15% pog
Diffstat (limited to 'src/music_pre.c')
-rw-r--r-- | src/music_pre.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/music_pre.c b/src/music_pre.c index 410c923..80968a6 100644 --- a/src/music_pre.c +++ b/src/music_pre.c @@ -447,7 +447,6 @@ void sub_800BDDC(void) void StartNewBGM(u16 songIndex) { bool8 interrupt_flag; - u16 temp_store; if(!IsBGSong(songIndex)) return; @@ -455,8 +454,7 @@ void StartNewBGM(u16 songIndex) return; if(songIndex == gCurrentBGSong) { - temp_store = gBGMusicPlayerState - 1; - if(temp_store <= 1) + if((u16)(gBGMusicPlayerState - 1) <= 1) return; } if(sub_800CAE0(songIndex)) |