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

Function ResetVehicleColourMap

src/vehicle.cpp:656–659  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

654}
655
656void ResetVehicleColourMap()
657{
658 for (Vehicle *v : Vehicle::Iterate()) { v->colourmap = PAL_NONE; }
659}
660
661/**
662 * List of vehicles that should check for autoreplace this tick.

Callers 3

SetLocalCompanyFunction · 0.85
CmdSetCompanyColourFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected