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

Function zEntTeleportBox_isOpen

src/SB/Game/zEntTeleportBox.cpp:409–419  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

407}
408
409S32 zEntTeleportBox_isOpen(_zEntTeleportBox* ent)
410{
411 _zEntTeleportBox* target = (_zEntTeleportBox*)ent->target;
412
413 if (ent->status == STATUS_OPEN && target->status == STATUS_OPEN)
414 {
415 return 1;
416 }
417
418 return 0;
419}
420
421S32 zEntTeleportBox_isClosed(_zEntTeleportBox* ent)
422{

Callers 2

zEntTeleportBox_UpdateFunction · 0.85
zEntTeleportBox_isClosedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected