diff --git a/ext/linkage b/ext/linkage index a8117ca..2cee19a 160000 --- a/ext/linkage +++ b/ext/linkage @@ -1 +1 @@ -Subproject commit a8117ca144f5652974d3eb3210396138a907a980 +Subproject commit 2cee19a0433fb71aa96b93151ceb1850b6106b5d diff --git a/src/engine.cpp b/src/engine.cpp index b464b30..d94b2ad 100644 --- a/src/engine.cpp +++ b/src/engine.cpp @@ -763,7 +763,7 @@ bool Game::loadCSBinary () { if (!modname) { return false; } - StringArray libs { "mp", "cs", "cs_i386" }; + Array libs { "mp", "cs", "cs_i386" }; // lookup for x64 binaries first if (plat.x64) { @@ -786,7 +786,7 @@ bool Game::loadCSBinary () { // search the libraries inside game dlls directory for (const auto &lib : libs) { - auto path = strings.joinPath (modname, "dlls", lib + DLL_SUFFIX); + auto path = strings.joinPath (modname, "dlls", lib) + DLL_SUFFIX; // if we can't read file, skip it if (!plat.fileExists (path.chars ())) {