mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-23 06:44:38 +01:00
Fix blank row getting added at exactly 19 scenery groups (#19502)
This commit is contained in:
@@ -1223,7 +1223,7 @@ private:
|
||||
|
||||
int32_t GetTabRowCount()
|
||||
{
|
||||
int32_t tabEntries = static_cast<int32_t>(_tabEntries.size());
|
||||
int32_t tabEntries = static_cast<int32_t>(_tabEntries.size() - 1);
|
||||
return std::max<int32_t>((tabEntries + MaxTabsPerRow - 1) / MaxTabsPerRow, 0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user