Fix for CuiWidget3dObjectListViewer [E]

This commit is contained in:
AconiteX
2021-05-29 22:24:00 -04:00
parent 20a94e080d
commit e5c9ef5b55
2 changed files with 4 additions and 2 deletions
@@ -2708,8 +2708,10 @@ void CuiWidget3dObjectListViewer::addObject (Object & obj)
if (hasFlags (F_alterObjects))
{
if (obj.isInitialized() && (obj.alter(1.0f) != AlterResult::cms_kill))
if (obj.isInitialized() && (obj.alter(Clock::frameTime()) != AlterResult::cms_kill))
{
obj.conclude();
}
}
if (dynamic_cast<const CreatureObject *>(&obj))
@@ -70,7 +70,7 @@ namespace SwgCuiAppearanceTabNamespace
const UILowerString DefaultViewerYaw = UILowerString ("DefaultViewerYaw");
}
// This order must corespond to the order of the pages in LayoutPage.
// This order must correspond to the order of the pages in LayoutPage.
const char* ms_slotNames[] =
{
"hat",