mirror of https://github.com/OpenRCT2/OpenRCT2.git
Merge pull request #897 from duncanspumpkin/fix_misc_scenery
Fix misc scenery tab
This commit is contained in:
commit
6978dd3a46
|
@ -222,7 +222,7 @@ void init_scenery_entry(rct_scenery_entry *sceneryEntry, int index, uint8 scener
|
|||
* rct2: 0x006DFA00
|
||||
*/
|
||||
void init_scenery() {
|
||||
bool enabledScenerySets[0x13] = { false };
|
||||
bool enabledScenerySets[0x14] = { false };
|
||||
|
||||
for (int scenerySetIndex = 0; scenerySetIndex < 0x14; scenerySetIndex++) {
|
||||
window_scenery_tab_entries[scenerySetIndex][0] = -1;
|
||||
|
@ -345,7 +345,7 @@ void init_scenery() {
|
|||
uint32 tabIndex = tabIndexes[i];
|
||||
rct_widget* tabWidget = &window_scenery_widgets[tabIndex + WIDX_SCENERY_TAB_1];
|
||||
|
||||
if (left != 3 || tabIndex == 0x13) {
|
||||
if (left != 3 || tabIndex != 0x13) {
|
||||
if (window_scenery_tab_entries[tabIndex][0] == -1)
|
||||
continue;
|
||||
|
||||
|
|
Loading…
Reference in New Issue