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

Method Suspend

src/SB/Game/zNPCGoalVillager.cpp:130–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128}
129
130S32 zNPCGoalPlayerNear::Suspend(F32 dt, void* updCtxt)
131{
132 zNPCVillager* npc = (zNPCVillager*)psyche->clt_owner;
133
134 if (talk_glyph != NULL)
135 {
136 talk_glyph->Enable(0);
137 }
138
139 if (talk_font != NULL)
140 {
141 talk_font->Off(npc, 0);
142 }
143
144 return xGoal::Suspend(dt, updCtxt);
145}
146
147S32 zNPCGoalPlayerNear::Resume(F32 dt, void* updCtxt)
148{

Callers

nothing calls this directly

Calls 3

EnableMethod · 0.80
OffMethod · 0.80
SuspendFunction · 0.50

Tested by

no test coverage detected