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

Method OnTrigPrevInMine

editor/TriggerDialog.cpp:744–753  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

742}
743
744void CTriggerDialog::OnTrigPrevInMine() {
745 ASSERT(Current_trigger != -1);
746
747 if (--Current_trigger < 0)
748 Current_trigger += Num_triggers;
749
750 SetCurroomFromTrigger();
751
752 UpdateDialog();
753}
754
755void CTriggerDialog::OnTrigPrevInRoom() {
756 int n = FindPrevTrigInRoom(ROOMNUM(Curroomp), Current_trigger);

Callers

nothing calls this directly

Calls 1

SetCurroomFromTriggerFunction · 0.85

Tested by

no test coverage detected