mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-18 01:42:38 +01:00
Change: Ignore min/max years for manual house placer. (#12687)
This commit is contained in:
@@ -1490,9 +1490,7 @@ public:
|
||||
bool IsTypeAvailable(int, int id) const override
|
||||
{
|
||||
const HouseSpec *hs = HouseSpec::Get(id);
|
||||
if (!hs->enabled) return false;
|
||||
if (TimerGameCalendar::year < hs->min_year || TimerGameCalendar::year > hs->max_year) return false;
|
||||
return true;
|
||||
return hs->enabled;
|
||||
}
|
||||
|
||||
void DrawType(int x, int y, int, int id) const override
|
||||
|
||||
Reference in New Issue
Block a user