mirror of
https://github.com/glest/glest-source.git
synced 2025-08-29 19:00:07 +02:00
- attempt to fix lua code that might be crashing the game
This commit is contained in:
@@ -95,8 +95,7 @@ void LuaScript::loadCode(const string &code, const string &name){
|
|||||||
}
|
}
|
||||||
|
|
||||||
void LuaScript::beginCall(const string& functionName) {
|
void LuaScript::beginCall(const string& functionName) {
|
||||||
Lua_STREFLOP_Wrapper streflopWrapper;
|
//Lua_STREFLOP_Wrapper streflopWrapper;
|
||||||
|
|
||||||
currentLuaFunction = functionName;
|
currentLuaFunction = functionName;
|
||||||
|
|
||||||
SystemFlags::OutputDebug(SystemFlags::debugLUA,"In [%s::%s Line: %d] functionName [%s]\n",__FILE__,__FUNCTION__,__LINE__,functionName.c_str());
|
SystemFlags::OutputDebug(SystemFlags::debugLUA,"In [%s::%s Line: %d] functionName [%s]\n",__FILE__,__FUNCTION__,__LINE__,functionName.c_str());
|
||||||
|
Reference in New Issue
Block a user