diff options
author | F1F7Y <64418963+F1F7Y@users.noreply.github.com> | 2024-09-05 15:22:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-05 15:22:52 +0200 |
commit | 27f478e7a296bca381a3bd78b82798863cac749c (patch) | |
tree | 4241222bdf1c15151e041055196c02f2d9ac9104 /primedev/scripts/scriptdatatables.cpp | |
parent | 68d374dbac1e0fa6fefa67db1e54d7d1eb9dc433 (diff) | |
download | NorthstarLauncher-27f478e7a296bca381a3bd78b82798863cac749c.tar.gz NorthstarLauncher-27f478e7a296bca381a3bd78b82798863cac749c.zip |
core: Remove use of `SourceInterface` for `IFileSystem` (#805)
`SourceInteface` class goes back to icepick and is not good. We have a replacement, let's use it.
Diffstat (limited to 'primedev/scripts/scriptdatatables.cpp')
-rw-r--r-- | primedev/scripts/scriptdatatables.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/primedev/scripts/scriptdatatables.cpp b/primedev/scripts/scriptdatatables.cpp index 76e57b95..c91e16ff 100644 --- a/primedev/scripts/scriptdatatables.cpp +++ b/primedev/scripts/scriptdatatables.cpp @@ -96,7 +96,7 @@ REPLACE_SQFUNC(GetDataTable, (ScriptContext::UI | ScriptContext::CLIENT | Script diskAssetPath /= fs::path(pAssetName); std::string sDiskAssetPath(diskAssetPath.string()); - if ((*g_pFilesystem)->m_vtable2->FileExists(&(*g_pFilesystem)->m_vtable2, sDiskAssetPath.c_str(), "GAME")) + if (g_pFilesystem->m_vtable2->FileExists(&g_pFilesystem->m_vtable2, sDiskAssetPath.c_str(), "GAME")) { std::string sTableCSV = ReadVPKFile(sDiskAssetPath.c_str()); if (!sTableCSV.size()) |