Fix clicks "passing through" after clicking on the tab bar.

This commit is contained in:
Mari the Deer 2021-12-14 22:44:47 +01:00
commit 0d3e14739b
2 changed files with 3 additions and 2 deletions

View file

@ -1,3 +1,3 @@
[default]
SWWM_MODVER="\chSWWM \czGZ\c- \cw1.2pre r78 \cu(Tue 14 Dec 19:25:03 CET 2021)\c-";
SWWM_SHORTVER="\cw1.2pre r78 \cu(2021-12-14 19:25:03)\c-";
SWWM_MODVER="\chSWWM \czGZ\c- \cw1.2pre r79 \cu(Tue 14 Dec 22:44:47 CET 2021)\c-";
SWWM_SHORTVER="\cw1.2pre r79 \cu(2021-12-14 22:44:47)\c-";

View file

@ -380,6 +380,7 @@ Class DemolitionistMenu : GenericMenu
}
xx += len;
}
return res;
}
else if ( (tabs.Size() <= 0) || (curtab == -1) || !tabs[curtab] ) return res;
tabs[curtab].MouseInput(mpos,isrclick?MB_RIGHT:MB_LEFT);