- Timestamp:
- Jun 21, 2006, 5:15:26 PM (18 years ago)
- Location:
- branches/script_engine/src
- Files:
-
- 3 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/script_engine/src/lib/script_engine/script.cc
r8678 r8679 3 3 #include "luaincl.h" 4 4 5 #include "filesys/file.h"6 5 #include "util/loading/resource_manager.h" 7 6 … … 60 59 { 61 60 62 File scriptFile; 63 61 std::string filedest(ResourceManager::getInstance()->getDataDir()); 62 filedest += "scripts/" + filename; 63 64 64 if(currentFile.length() != 0) 65 65 { … … 68 68 } 69 69 70 int error = luaL_loadfile (luaState, file name.c_str());70 int error = luaL_loadfile (luaState, filedest.c_str()); 71 71 72 72 if(error == 0)
Note: See TracChangeset
for help on using the changeset viewer.