forked from rosebudai/OpenRCT2-Web
Fix build for latest VS2019
This commit is contained in:
1 parent
0e96674a46
commit
0e788918e2
2 files changed
+2
-1
No files matched your search
@@ -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