Changeset 1038 for code/trunk/src/orxonox/core/Script.cc
- Timestamp:
- Apr 13, 2008, 2:59:01 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/core/Script.cc
r1037 r1038 109 109 error = luaL_loadstring(luaState_, init.c_str()); 110 110 #else 111 error = lua_load(luaState_, &orxonox::Script::lua_Chunkreader, init.c_str(), "init");111 error = lua_load(luaState_, &orxonox::Script::lua_Chunkreader, (void*)init.c_str(), "init"); 112 112 #endif 113 113 if (error == 0)
Note: See TracChangeset
for help on using the changeset viewer.