zip support followup

This commit is contained in:
AzaezelX 2021-07-22 21:27:13 -05:00
parent b8eaefc21e
commit 36b31ae19d
6 changed files with 8 additions and 8 deletions

View file

@ -218,7 +218,7 @@ bool SoundAsset::loadSound()
{
if (mSoundPath)
{
if (!Platform::isFile(mSoundPath))
if (!Torque::FS::IsFile(mSoundPath))
{
Con::errorf("SoundAsset::initializeAsset: Attempted to load file %s but it was not valid!", mSoundFile);
mLoadedState = BadFileReference;