MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / Discard

Method Discard

src/SB/Game/zNPCHazard.cpp:226–239  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

224}
225
226void NPCHazard::Discard()
227{
228 if ((flg_hazard & 1) != 0)
229 {
230 if (cb_notify != NULL)
231 {
232 cb_notify->Notify((en_haznote)0, this);
233 }
234
235 Cleanup();
236
237 g_cnt_activehaz &= ~((g_cnt_activehaz - 1) >> 31);
238 }
239}
240
241void NPCHazard::Kill()
242{

Callers 4

KickSteamyStinkyMethod · 0.45
KickBlooshBlobMethod · 0.45
KickOilBurstMethod · 0.45
KickOilGlobbyMethod · 0.45

Calls 2

CleanupFunction · 0.85
NotifyMethod · 0.45

Tested by

no test coverage detected