mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-22 09:39: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:
parent
5ef89643a0
commit
8623cf227a
1 changed files with 1 additions and 0 deletions
|
@ -171,6 +171,7 @@ end:
|
||||||
|
|
||||||
ogg_file = mem;
|
ogg_file = mem;
|
||||||
valid = true;
|
valid = true;
|
||||||
|
name = std::string(SDL_strrchr(fileName, '/') + 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Dispose(void)
|
void Dispose(void)
|
||||||
|
|
Loading…
Reference in a new issue