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

Method Discard

src/SB/Game/zNPCGlyph.cpp:413–423  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

411}
412
413void NPCGlyph::Discard()
414{
415 en_npcglyph type = typ_glyph;
416 if (type > NPC_GLYPH_UNKNOWN && type < NPC_GLYPH_NOMORE)
417 {
418 g_cnt_activeGlyphs[type]--;
419 g_cnt_activeGlyphs[typ_glyph] = MAX(0, g_cnt_activeGlyphs[typ_glyph]);
420 }
421
422 flg_glyph = 0;
423}
424
425void NPCGlyph::PosSet(xVec3* pos)
426{

Callers 9

zNPCGlyph_TimestepFunction · 0.45
EnterMethod · 0.45
ExitMethod · 0.45
GlyphStopMethod · 0.45
zSaveLoad_DoAutoSaveFunction · 0.45
zSaveLoad_SaveGameFunction · 0.45
zSaveLoad_LoadGameFunction · 0.45
ExitMethod · 0.45
ResumeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected