mirror of
https://github.com/edubart/otclient.git
synced 2025-10-20 06:23:26 +02:00
Minor changes in file type handling
This commit is contained in:
@@ -252,7 +252,7 @@ SoundSourcePtr SoundManager::createSoundSource(const std::string& filename)
|
||||
|
||||
std::string SoundManager::resolveSoundFile(std::string file)
|
||||
{
|
||||
file = g_resources.guessFileType(file, "ogg");
|
||||
file = g_resources.guessFilePath(file, "ogg");
|
||||
file = g_resources.resolvePath(file);
|
||||
return file;
|
||||
}
|
||||
|
Reference in New Issue
Block a user