mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-06 06:32:56 +01:00
Fix build for latest VS2019
This commit is contained in:
@@ -1205,7 +1205,7 @@ namespace OpenRCT2::Ui::Windows
|
||||
{
|
||||
if (customWidgetInfo->Name == name)
|
||||
{
|
||||
return i;
|
||||
return static_cast<rct_widgetindex>(i);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
|
||||
// Then the rest
|
||||
#include <algorithm>
|
||||
#include <iterator>
|
||||
#include <openrct2-ui/Ui.h>
|
||||
#include <openrct2/core/String.hpp>
|
||||
#include <stdio.h>
|
||||
|
||||
Reference in New Issue
Block a user