more changes to work on ARM

This commit is contained in:
Eduardo Bart
2011-12-30 02:50:19 -02:00
parent a394033872
commit e95973174c
12 changed files with 33 additions and 23 deletions

View File

@@ -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;