MCPcopy Create free account
hub / github.com/OpenRCT2/OpenRCT2 / Unload

Method Unload

src/openrct2/object/FootpathObject.cpp:64–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62 }
63
64 void FootpathObject::Unload()
65 {
66 LanguageFreeObjectString(_legacyType.string_idx);
67 UnloadImages();
68
69 _legacyType.string_idx = 0;
70 _legacyType.image = 0;
71 }
72
73 void FootpathObject::DrawPreview(Drawing::RenderTarget& rt, int32_t width, int32_t height) const
74 {

Callers

nothing calls this directly

Calls 1

LanguageFreeObjectStringFunction · 0.85

Tested by

no test coverage detected