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

This commit is contained in:
Robert MacGregor 2022-06-13 12:21:06 -04:00
parent 0a45fac224
commit bd3a990140

View file

@ -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 );