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

Function ClearAllStationCachedNames

src/station_cmd.cpp:477–482  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

475}
476
477void ClearAllStationCachedNames()
478{
479 for (BaseStation *st : BaseStation::Iterate()) {
480 st->cached_name.clear();
481 }
482}
483
484/**
485 * Get a mask of the cargo types that the station accepts.

Callers 2

CmdRenameTownFunction · 0.85
ClearAllCachedNamesFunction · 0.85

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected