mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
* BugFix: Correct the 'gotoWebPage' function not using the VFS.
This commit is contained in:
parent
0a45fac224
commit
bd3a990140
|
|
@ -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 );
|
||||
|
|
|
|||
Loading…
Reference in a new issue