Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
477
void 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
CmdRenameTown
Function · 0.85
ClearAllCachedNames
Function · 0.85
Calls
1
clear
Method · 0.45
Tested by
no test coverage detected