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

@ -175,12 +175,12 @@ void TSLastDetail::update( bool forceUpdate )
// comparisons... this might be different if the DAEs have been
// deleted from the install.
String shapeFile( mCachePath );
if ( !Platform::isFile( shapeFile ) )
if ( !Torque::FS::IsFile( shapeFile ) )
{
Torque::Path path(shapeFile);
path.setExtension("cached.dts");
shapeFile = path.getFullPath();
if ( !Platform::isFile( shapeFile ) )
if ( !Torque::FS::IsFile( shapeFile ) )
{
Con::errorf( "TSLastDetail::update - '%s' could not be found!", mCachePath.c_str() );
return;