1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-30 18:09:09 +00:00

(svn r21374) -Fix: Purchases lists were not invalidated when using 'resetengines'

This commit is contained in:
planetmaker
2010-12-04 08:38:02 +00:00
parent b250888aa3
commit f6aa80c617

View File

@@ -601,6 +601,9 @@ void StartupEngines()
c->avail_railtypes = GetCompanyRailtypes(c->index);
c->avail_roadtypes = GetCompanyRoadtypes(c->index);
}
/* Invalidate any open purchase lists */
InvalidateWindowClassesData(WC_BUILD_VEHICLE);
}
static void AcceptEnginePreview(EngineID eid, CompanyID company)