Explorar o código

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

Robert MacGregor %!s(int64=3) %!d(string=hai) anos
pai
achega
bd3a990140
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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.
    
    String addr;
-   if( Platform::isFile( address ) || Platform::isDirectory( address ) )
+   if( Torque::FS::IsFile( address ) || Torque::FS::IsDirectory( address ) )
    {
 #ifdef TORQUE2D_TOOLS_FIXME
       addr = String::ToString( "file://%s", address );