mirror of https://github.com/OpenRCT2/OpenRCT2.git
Fix build for latest VS2019
This commit is contained in:
parent
0e96674a46
commit
0e788918e2
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue