mirror of https://github.com/OpenRCT2/OpenRCT2.git
Fix the object editor tab selector
Object editor has unusually high WIDX_TAB_1 value making the default 32-bit type not wide enough.
This commit is contained in:
parent
be82582063
commit
56ff06a8d2
|
@ -1487,7 +1487,7 @@ private:
|
|||
{
|
||||
for (size_t i = 0; i < std::size(ObjectSelectionPages); i++)
|
||||
{
|
||||
pressed_widgets &= ~(1 << (WIDX_TAB_1 + i));
|
||||
pressed_widgets &= ~(1ull << (WIDX_TAB_1 + i));
|
||||
}
|
||||
pressed_widgets |= 1LL << (WIDX_TAB_1 + selected_tab);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue