1
0
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:
Ted John
2020-04-23 19:28:53 +01:00
parent c17f898931
commit 4c45e0ceb0

View File

@@ -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
{