This commit is contained in:
Glenn Maynard
2005-06-16 05:48:59 +00:00
parent dd138bfbc2
commit f070624a91
+3 -3
View File
@@ -56,19 +56,19 @@ const char *ChunkReaderString( lua_State *L, void *ptr, size_t *size )
void LuaManager::SetGlobal( const CString &sName, int val )
{
LuaHelpers::PushStack( val, LUA->L );
LuaHelpers::PushStack( val, L );
lua_setglobal( L, sName );
}
void LuaManager::SetGlobal( const CString &sName, bool val )
{
LuaHelpers::PushStack( val, LUA->L );
LuaHelpers::PushStack( val, L );
lua_setglobal( L, sName );
}
void LuaManager::SetGlobal( const CString &sName, const CString &val )
{
LuaHelpers::PushStack( val, LUA->L );
LuaHelpers::PushStack( val, L );
lua_setglobal( L, sName );
}