1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-22 01:29:43 +01:00

Fixed custom OGGs not being played with playef()

When OGG files got loaded, they weren't given a name in the
function LoadOGG(). This caused playef_name() to fail since
it couldn't match any of the custom pushed OGGs' filenames
with what the user called using playef. This was fixed by
copying the name definition from LoadWAV().
This commit is contained in:
Fussmatte 2023-08-28 15:59:45 -04:00
parent 5ef89643a0
commit 8623cf227a

View file

@ -171,6 +171,7 @@ end:
ogg_file = mem;
valid = true;
name = std::string(SDL_strrchr(fileName, '/') + 1);
}
void Dispose(void)