Commit ac2a919d authored by mercury233's avatar mercury233

fix missing break in DeckBuilder::OnEvent

parent bbd99ad4
...@@ -163,6 +163,7 @@ bool DeckBuilder::OnEvent(const irr::SEvent& event) { ...@@ -163,6 +163,7 @@ bool DeckBuilder::OnEvent(const irr::SEvent& event) {
return true; return true;
break; break;
} }
break;
} }
case irr::gui::EGET_BUTTON_CLICKED: { case irr::gui::EGET_BUTTON_CLICKED: {
soundManager.PlaySoundEffect(SOUND_BUTTON); soundManager.PlaySoundEffect(SOUND_BUTTON);
...@@ -1011,6 +1012,7 @@ bool DeckBuilder::OnEvent(const irr::SEvent& event) { ...@@ -1011,6 +1012,7 @@ bool DeckBuilder::OnEvent(const irr::SEvent& event) {
InstantSearch(); InstantSearch();
break; break;
} }
break;
} }
case irr::gui::EGET_LISTBOX_CHANGED: { case irr::gui::EGET_LISTBOX_CHANGED: {
switch(id) { switch(id) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment