mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-19 19:35:26 +00:00
zip support followup
This commit is contained in:
parent
b8eaefc21e
commit
36b31ae19d
6 changed files with 8 additions and 8 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue