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

Method OnMatPasteButton

editor/matcenkeypad.cpp:1060–1066  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1058}
1059
1060void matcenkeypad::OnMatPasteButton() {
1061 if (MatcenValid(m_matcen_id) && f_copy_buffer_valid) {
1062 *Matcen[m_matcen_id] = MatCopyBuffer;
1063 }
1064
1065 UpdateDialog();
1066}
1067
1068void matcenkeypad::OnMatApvRadio() {
1069 Matcen[m_matcen_id]->SetControlType(MPC_AFTER_PLAYER_VISIBLE);

Callers

nothing calls this directly

Calls 1

MatcenValidFunction · 0.85

Tested by

no test coverage detected