1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-18 09:52:44 +01:00

(svn r22985) -Feature: Display autoreplace status in group GUI.

This commit is contained in:
frosch
2011-10-03 17:26:37 +00:00
parent 23a2f23eb3
commit d071eefc54
8 changed files with 78 additions and 4 deletions

View File

@@ -143,6 +143,7 @@ CommandCost CmdBuildVehicle(TileIndex tile, DoCommandFlag flags, uint32 p1, uint
}
GroupStatistics::CountEngine(v, 1);
GroupStatistics::UpdateAutoreplace(_current_company);
if (v->IsPrimaryVehicle()) {
GroupStatistics::CountVehicle(v, 1);