MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / OnTrigNextInMine

Method OnTrigNextInMine

editor/TriggerDialog.cpp:724–732  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

722}
723
724void CTriggerDialog::OnTrigNextInMine() {
725 ASSERT(Current_trigger != -1);
726
727 Current_trigger = (Current_trigger + 1) % Num_triggers;
728
729 SetCurroomFromTrigger();
730
731 UpdateDialog();
732}
733
734void CTriggerDialog::OnTrigNextInRoom() {
735 int n = FindNextTrigInRoom(ROOMNUM(Curroomp), Current_trigger);

Callers

nothing calls this directly

Calls 1

SetCurroomFromTriggerFunction · 0.85

Tested by

no test coverage detected