mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 19:07:44 +00:00
Working CScriptGunTurret
This commit is contained in:
@@ -161,11 +161,13 @@ void CGuiWidget::RecalcWidgetColor(ETraversalMode mode) {
|
||||
CGuiWidget* nextSib = static_cast<CGuiWidget*>(GetNextSibling());
|
||||
if (nextSib)
|
||||
nextSib->RecalcWidgetColor(ETraversalMode::ChildrenAndSiblings);
|
||||
[[fallthrough]];
|
||||
}
|
||||
case ETraversalMode::Children: {
|
||||
CGuiWidget* child = static_cast<CGuiWidget*>(GetChildObject());
|
||||
if (child)
|
||||
child->RecalcWidgetColor(ETraversalMode::ChildrenAndSiblings);
|
||||
break;
|
||||
}
|
||||
default:
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user