Include :
- sistemazioni funzioni template associate a LuaMgr.
This commit is contained in:
@@ -438,8 +438,6 @@ LuaGetGlobVar( lua_State* L, const std::string& sVar, T& Val)
|
||||
std::string sTab, sField ;
|
||||
SplitFirst( sVar, ".", sTab, sField) ;
|
||||
lua_getglobal( L, sTab.c_str()) ;
|
||||
if ( ! lua_istable( L, -1))
|
||||
return false ;
|
||||
bool bOk = LuaGetTabFieldParam( L, -1, sField.c_str(), Val) ;
|
||||
lua_pop( L, 1) ;
|
||||
return bOk ;
|
||||
|
||||
Reference in New Issue
Block a user