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

Method OnAinBack

editor/PathPadDialog.cpp:614–619  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

612}
613
614void CPathPadDialog::OnAinBack() {
615 vector diff = -Viewer_object->orient.fvec * BNode_move_amount;
616
617 EBNode_Move(true, BNode_current_room, BNode_current_id, &diff);
618 World_changed = 1;
619}
620
621void CPathPadDialog::OnAinCreateNodeAtViewer() {
622 int node = EBNode_AddNode(Viewer_object->roomnum, &Viewer_object->pos, true, true);

Callers

nothing calls this directly

Calls 1

EBNode_MoveFunction · 0.85

Tested by

no test coverage detected