Changed: Minor changes

This commit is contained in:
kervala 2016-09-28 23:42:33 +02:00
parent 468c3aa7d0
commit f51ac633dc
2 changed files with 3 additions and 1 deletions

View file

@ -213,6 +213,7 @@ void CBarManager::initInGame()
"PRESENT",
"HP", "SAP", "STA", "");
}
for(i=0;i<_EntryBars[AnimalType].size();i++)
{
// don't connect STA, SAP and FOCUS for animal, since they don't have
@ -222,6 +223,7 @@ void CBarManager::initInGame()
"STATUS",
"HP", "", "", "");
}
nlassert(_EntryBars[TargetType].size()==1);
_EntryBars[TargetType][0].connectDB(
"SERVER:TARGET:BARS:",

View file

@ -390,7 +390,7 @@ void CLuaIHMRyzom::RegisterRyzomFunctions( NLGUI::CLuaState &ls )
mt.setValue("__newindex", luaClientCfgNewIndex);
globals.setNil("__cfmt"); // remove temp metatable
ls.registerFunc( "getUI", getUI );
ls.registerFunc("getUI", getUI);
ls.registerFunc("validMessageBox", validMessageBox);
ls.registerFunc("getUICaller", getUICaller);
ls.registerFunc("getUI", getUI);