aboutsummaryrefslogtreecommitdiff
path: root/primedev/scripts
diff options
context:
space:
mode:
authorF1F7Y <64418963+F1F7Y@users.noreply.github.com>2024-09-05 15:22:52 +0200
committerGitHub <noreply@github.com>2024-09-05 15:22:52 +0200
commit27f478e7a296bca381a3bd78b82798863cac749c (patch)
tree4241222bdf1c15151e041055196c02f2d9ac9104 /primedev/scripts
parent68d374dbac1e0fa6fefa67db1e54d7d1eb9dc433 (diff)
downloadNorthstarLauncher-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')
-rw-r--r--primedev/scripts/scriptdatatables.cpp2
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())