mirror of
https://github.com/edubart/otclient.git
synced 2025-10-19 14:03:26 +02:00
more changes to work on ARM
This commit is contained in:
@@ -164,7 +164,7 @@ std::string ResourceManager::resolvePath(const std::string& path)
|
||||
if(boost::starts_with(path, "/"))
|
||||
fullPath = path;
|
||||
else {
|
||||
std::string scriptPath = "/" + g_lua.currentSourcePath();
|
||||
std::string scriptPath = "/" + g_lua.getCurrentSourcePath();
|
||||
if(!scriptPath.empty())
|
||||
fullPath += scriptPath + "/";
|
||||
fullPath += path;
|
||||
|
Reference in New Issue
Block a user