Clear the cached_name of all towns. */
| 428 | |
| 429 | /** Clear the cached_name of all towns. */ |
| 430 | void ClearAllTownCachedNames() |
| 431 | { |
| 432 | for (Town *t : Town::Iterate()) { |
| 433 | t->cached_name.clear(); |
| 434 | } |
| 435 | } |
| 436 | |
| 437 | /** |
| 438 | * Change the town's population as recorded in the town cache, town label, and town directory. |
no test coverage detected