mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2025-02-01 21:55:01 +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;
|
||||
valid = true;
|
||||
name = std::string(SDL_strrchr(fileName, '/') + 1);
|
||||
}
|
||||
|
||||
void Dispose(void)
|
||||
|
|
Loading…
Add table
Reference in a new issue