forked from mirrors/0ad
less global variables: make most uses of g_VFS explicit (required for another app that has two VFSes), g_yres is no longer required by cursor module
This was SVN commit r7686.
This commit is contained in:
@@ -70,7 +70,7 @@ public:
|
||||
|
||||
VfsPath path = VfsPath(L"simulation/templates/") / name;
|
||||
CXeromyces xero;
|
||||
PSRETURN ok = xero.Load(path);
|
||||
PSRETURN ok = xero.Load(g_VFS, path);
|
||||
if (ok != PSRETURN_OK)
|
||||
return ret; // (Xeromyces already logged an error)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user