MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / InitializeVehicles

Function InitializeVehicles

src/vehicle.cpp:668–672  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

666static AutoreplaceMap _vehicles_to_autoreplace;
667
668void InitializeVehicles()
669{
670 _vehicles_to_autoreplace.clear();
671 ResetVehicleHash();
672}
673
674uint CountVehiclesInChain(const Vehicle *v)
675{

Callers 1

InitializeGameFunction · 0.85

Calls 2

ResetVehicleHashFunction · 0.85
clearMethod · 0.45

Tested by

no test coverage detected