Changed: Minor changes
This commit is contained in:
parent
468c3aa7d0
commit
f51ac633dc
2 changed files with 3 additions and 1 deletions
|
@ -213,6 +213,7 @@ void CBarManager::initInGame()
|
||||||
"PRESENT",
|
"PRESENT",
|
||||||
"HP", "SAP", "STA", "");
|
"HP", "SAP", "STA", "");
|
||||||
}
|
}
|
||||||
|
|
||||||
for(i=0;i<_EntryBars[AnimalType].size();i++)
|
for(i=0;i<_EntryBars[AnimalType].size();i++)
|
||||||
{
|
{
|
||||||
// don't connect STA, SAP and FOCUS for animal, since they don't have
|
// don't connect STA, SAP and FOCUS for animal, since they don't have
|
||||||
|
@ -222,6 +223,7 @@ void CBarManager::initInGame()
|
||||||
"STATUS",
|
"STATUS",
|
||||||
"HP", "", "", "");
|
"HP", "", "", "");
|
||||||
}
|
}
|
||||||
|
|
||||||
nlassert(_EntryBars[TargetType].size()==1);
|
nlassert(_EntryBars[TargetType].size()==1);
|
||||||
_EntryBars[TargetType][0].connectDB(
|
_EntryBars[TargetType][0].connectDB(
|
||||||
"SERVER:TARGET:BARS:",
|
"SERVER:TARGET:BARS:",
|
||||||
|
|
|
@ -390,7 +390,7 @@ void CLuaIHMRyzom::RegisterRyzomFunctions( NLGUI::CLuaState &ls )
|
||||||
mt.setValue("__newindex", luaClientCfgNewIndex);
|
mt.setValue("__newindex", luaClientCfgNewIndex);
|
||||||
globals.setNil("__cfmt"); // remove temp metatable
|
globals.setNil("__cfmt"); // remove temp metatable
|
||||||
|
|
||||||
ls.registerFunc( "getUI", getUI );
|
ls.registerFunc("getUI", getUI);
|
||||||
ls.registerFunc("validMessageBox", validMessageBox);
|
ls.registerFunc("validMessageBox", validMessageBox);
|
||||||
ls.registerFunc("getUICaller", getUICaller);
|
ls.registerFunc("getUICaller", getUICaller);
|
||||||
ls.registerFunc("getUI", getUI);
|
ls.registerFunc("getUI", getUI);
|
||||||
|
|
Loading…
Reference in a new issue