mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-08 00:52:55 +00:00
Fix VGZ sometimes causing SRB2 to crash by not playing the song early in I_LoadSong
This commit is contained in:
parent
aab378fe1a
commit
26a2677863
1 changed files with 0 additions and 3 deletions
|
|
@ -1162,9 +1162,6 @@ boolean I_LoadSong(char *data, size_t len)
|
|||
// Run GME on new data
|
||||
if (!gme_open_data(inflatedData, inflatedLen, &gme, 44100))
|
||||
{
|
||||
gme_start_track(gme, 0);
|
||||
current_track = 0;
|
||||
Mix_HookMusic(mix_gme, gme);
|
||||
Z_Free(inflatedData); // GME supposedly makes a copy for itself, so we don't need this lying around
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue