1
0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-06-25 22:18:30 +02: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
{
mmmmmm = true;
usingmmmmmm = true;
int index;
SDL_RWops *rw;