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

Method OnSelect

Descent3/mmItem.cpp:198–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

196}
197
198void mmItem::OnSelect() {
199 PlayMenuSound(m_window->SoundHandles[MM_SELECT_SOUND], true);
200 UIGadget::OnSelect();
201}
202
203// override: behavior when mouse button is pressed.
204void mmItem::OnMouseBtnDown(int btn) {

Callers

nothing calls this directly

Calls 1

PlayMenuSoundFunction · 0.85

Tested by

no test coverage detected