diff --git a/Engine/source/T3D/lighting/reflectionProbe.cpp b/Engine/source/T3D/lighting/reflectionProbe.cpp index 1715ac758..bbb6cd90b 100644 --- a/Engine/source/T3D/lighting/reflectionProbe.cpp +++ b/Engine/source/T3D/lighting/reflectionProbe.cpp @@ -327,15 +327,15 @@ void ReflectionProbe::handleDeleteAction() if (mReflectionModeType != StaticCubemap) { String prefilPath = getPrefilterMapPath(); - if (Platform::isFile(prefilPath)) + if (Torque::FS::IsFile(prefilPath)) { - Platform::fileDelete(prefilPath); + Torque::FS::Remove(prefilPath); } String irrPath = getIrradianceMapPath(); - if (Platform::isFile(irrPath)) + if (Torque::FS::IsFile(irrPath)) { - Platform::fileDelete(irrPath); + Torque::FS::Remove(irrPath); } }