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

Method ForceRefresh

src/smallmap_gui.cpp:1442–1448  ·  view source on GitHub ↗

Force a full refresh of the map. */

Source from the content-addressed store, hash-verified

1440
1441 /** Force a full refresh of the map. */
1442 void ForceRefresh()
1443 {
1444 if (_smallmap_industry_highlight != IT_INVALID) return;
1445
1446 this->UpdateLinks();
1447 this->SetDirty();
1448 }
1449
1450public:
1451 friend class NWidgetSmallmapDisplay;

Callers

nothing calls this directly

Calls 2

UpdateLinksMethod · 0.95
SetDirtyMethod · 0.45

Tested by

no test coverage detected