1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-11-16 16:09:42 +01:00

Don't set music.usingmmmmmm to true when (un)loading custom assets

For some reason, music.usingmmmmmm automatically gets set to true in
musicclass::init(). I assume this was because it would get re-assigned
by game.usingmmmmmm in the game startup code anyway, but now that
musicclass::init() can be called more than once, this variable will just
get set to true when it shouldn't be, causing a confusing desync just
like the one I described in my previous commit, where you would have
PPPPPP or MMMMMM on the title screen, but closing the game and
re-launching it would play the other soundtrack instead.

Again, these duplicate variables should be removed, but that's going to
be a separate patch. In the meantime, I'm removing this variable
assignment.
This commit is contained in:
Misa 2020-11-12 16:02:54 -08:00 committed by Ethan Lee
parent 98ef7a8675
commit 12e3c579ed

View file

@ -95,7 +95,6 @@ void musicclass::init()
else else
{ {
mmmmmm = true; mmmmmm = true;
usingmmmmmm = true;
int index; int index;
SDL_RWops *rw; SDL_RWops *rw;