mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-17 03:53:07 +01:00
Remove use of .value()
This commit is contained in:
@@ -302,7 +302,7 @@ namespace OpenRCT2::Ui::Windows
|
||||
if (desc.X && desc.Y)
|
||||
{
|
||||
window = window_create(
|
||||
{ desc.X.value(), desc.Y.value() }, desc.Width, desc.Height, &window_custom_events, WC_CUSTOM, windowFlags);
|
||||
{ *desc.X, *desc.Y }, desc.Width, desc.Height, &window_custom_events, WC_CUSTOM, windowFlags);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user