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

Method OnInit

src/vehicle_gui.cpp:948–952  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

946 }
947
948 void OnInit() override
949 {
950 /* (Re)build the refit list */
951 this->OnInvalidateData(VIWD_CONSIST_CHANGED);
952 }
953
954 void OnPaint() override
955 {

Callers

nothing calls this directly

Calls 1

OnInvalidateDataMethod · 0.95

Tested by

no test coverage detected