Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
656
void 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
SetLocalCompany
Function · 0.85
CmdSetCompanyColour
Function · 0.85
InvalidateCompanyLiveryWindow
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected