Commit 96eac357 authored by mercury233's avatar mercury233
parents e9650adb e4cdeccd
......@@ -835,6 +835,8 @@ bool ClientField::OnEvent(const irr::SEvent& event) {
break;
} else {
mainGame->HideElement(mainGame->wCardSelect);
if(mainGame->dInfo.curMsg == MSG_SELECT_CHAIN && !chain_forced)
ShowCancelOrFinishButton(1);
break;
}
break;
......@@ -1482,6 +1484,8 @@ bool ClientField::OnEvent(const irr::SEvent& event) {
case irr::EMIE_RMOUSE_LEFT_UP: {
if(mainGame->dInfo.isReplay)
break;
if(event.MouseInput.isLeftPressed())
break;
s32 x = event.MouseInput.X;
s32 y = event.MouseInput.Y;
irr::core::position2di pos(x, y);
......
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