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

Function ClearTemporaryNewGRFData

src/newgrf.cpp:124–127  ·  view source on GitHub ↗

Reset all NewGRFData that was used only while processing data */

Source from the content-addressed store, hash-verified

122
123/** Reset all NewGRFData that was used only while processing data */
124static void ClearTemporaryNewGRFData(GRFFile *gf)
125{
126 gf->labels.clear();
127}
128
129/**
130 * Disable a GRF

Callers 2

DisableGrfFunction · 0.85
LoadNewGRFFunction · 0.85

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected