Commit 5908e795 authored by fallenstardust's avatar fallenstardust

注释

parent 1fd50f7c
......@@ -215,13 +215,13 @@ bool DeckBuilder::OnEvent(const irr::SEvent& event) {
break;
}
switch(event.GUIEvent.EventType) {
case irr::gui::EGET_ELEMENT_CLOSED: {
if(id == WINDOW_DECK_MANAGE) {
mainGame->HideElement(mainGame->wDeckManage);
return true;
break;
}
}
/* case irr::gui::EGET_ELEMENT_CLOSED: {
* if(id == WINDOW_DECK_MANAGE) {
* mainGame->HideElement(mainGame->wDeckManage);
* return true;
* break;
* }
* }*/
case irr::gui::EGET_BUTTON_CLICKED: {
switch(id) {
case BUTTON_CLEAR_DECK: {
......@@ -1066,7 +1066,7 @@ bool DeckBuilder::OnEvent(const irr::SEvent& event) {
// break;
mainGame->lstDecks->setSelected(0);
mainGame->cbDBCategory->setSelected(catesel);
changeCategory(catesel);
changeCategory(catesel);//fixme
break;
}
case LISTBOX_DECKS: {
......
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