Sfoglia il codice sorgente

* BugFix: Correct the 'gotoWebPage' function not using the VFS.

Robert MacGregor 3 anni fa
parent
commit
bd3a990140
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      Engine/source/console/consoleFunctions.cpp

+ 1 - 1
Engine/source/console/consoleFunctions.cpp

@@ -2157,7 +2157,7 @@ DefineEngineFunction( gotoWebPage, void, ( const char* address ),,
    // the bogus url, and hope for the best.
    // the bogus url, and hope for the best.
    
    
    String addr;
    String addr;
-   if( Platform::isFile( address ) || Platform::isDirectory( address ) )
+   if( Torque::FS::IsFile( address ) || Torque::FS::IsDirectory( address ) )
    {
    {
 #ifdef TORQUE2D_TOOLS_FIXME
 #ifdef TORQUE2D_TOOLS_FIXME
       addr = String::ToString( "file://%s", address );
       addr = String::ToString( "file://%s", address );