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

Method NPCIsTheLocker

src/SB/Game/zNPCSupport.cpp:179–189  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177}
178
179S32 NPCWidget::NPCIsTheLocker(const zNPCCommon* npc)
180{
181 if ((S32)IsLocked() == 0)
182 {
183 return 0;
184 }
185 else
186 {
187 return npc == npc_ownerlock ? 1 : 0;
188 }
189}
190
191S32 NPCWidget::IsVisible()
192{

Callers 2

OffMethod · 0.95
ProcessMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected