1
0
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:
Andrew
2023-02-26 16:29:00 -05:00
committed by GitHub
parent c062f59d33
commit 0da9693e15

View File

@@ -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);
}