Fix block sections label for powered launch (#26786)

This commit is contained in:
Aaron van Geffen authored and GitHub committed 2026-07-15 16:15:03 +02:00
1 parent 3174ecf8ac
commit d4df0267b4
1 file changed
+7 -1
+7 -1
View File
@@ -3545,7 +3545,8 @@ namespace OpenRCT2::Ui::Windows
widgets[WIDX_MODE_DROPDOWN].moveTo({ 297, startY + 1 });
startY += 17;
if (ride->isBlockSectioned())
const bool poweredLaunch = ride->mode == RideMode::poweredLaunchBlockSectioned;
if (ride->isBlockSectioned() && !poweredLaunch)
{
startY += 17;
}
@@ -3673,6 +3674,11 @@ namespace OpenRCT2::Ui::Windows
widgets[WIDX_MODE_TWEAK_DECREASE].type = WidgetType::empty;
}
if (ride->isBlockSectioned() && poweredLaunch)
{
startY += 17;
}
if (startY != initStartY + 15)
{
widgets[WIDX_MODE_GROUP].bottom = startY + 2;