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

Method Unload

src/openrct2/object/PathAdditionObject.cpp:66–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

LanguageFreeObjectStringFunction · 0.85

Tested by

no test coverage detected