MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / DeinitShape

Method DeinitShape

engine/Poseidon/World/Entities/Weapons/Weapons.cpp:80–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80void AmmoType::DeinitShape()
81{
82 if (_cartridgeType)
83 {
84 _cartridgeType->VehicleRelease(); // allow releasing shape
85 _cartridgeType.Free();
86 }
87 _proxyShape.Free();
88 base::DeinitShape();
89}
90
91void AmmoType::Load(const ParamEntry& par)
92{

Callers 1

ShapeReleaseMethod · 0.45

Calls 4

VehicleReleaseMethod · 0.80
DeinitMethod · 0.80
FreeMethod · 0.45
SizeMethod · 0.45

Tested by

no test coverage detected