Fix crash when using right mouse button

develop
Anuradha Dissanayake 2013-03-22 23:08:33 +13:00
parent 59ec9bfc57
commit dc9a62fd1d
1 changed files with 1 additions and 2 deletions

@ -219,10 +219,9 @@ struct mousequery_hook : public df::viewscreen_dwarfmodest
{
while (ui->main.mode != Default)
{
enabler->mouse_rbut = 0;
send_key(df::interface_key::LEAVESCREEN);
}
enabler->mouse_rbut = 0;
}
}
}