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

Method apply_pending

src/SB/Game/zNPCTypePrawn.cpp:893–899  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

891}
892
893void zNPCPrawn::apply_pending()
894{
895 pending.change = 0;
896 disco->set_state_range(pending.pattern.min, pending.pattern.max, SM_NPC_DEAD);
897 disco->set_transition_delay(pending.transition_delay);
898 disco->set_state_delay(pending.state_delay);
899}
900
901// void zNPCPrawn::set_floor_state(zNPCPrawn::floor_state_enum, bool, bool)
902// {

Callers

nothing calls this directly

Calls 3

set_state_rangeMethod · 0.80
set_transition_delayMethod · 0.80
set_state_delayMethod · 0.80

Tested by

no test coverage detected