fixed ESC in 3D

This commit is contained in:
Zeno Rogue 2020-04-22 01:44:53 +02:00
parent c19c9446b4
commit 95aa4d8fe5
1 changed files with 2 additions and 1 deletions

View File

@ -737,8 +737,9 @@ EX void mainloopiter() {
DEBB(DF_GRAPH, ("polling for events\n"));
if((GDIM == 3 && !shmup::on) || (lctrlclick && rug::rugged)) {
rug::using_rugview urv;
#if CAP_MOUSEGRAB
rug::using_rugview urv;
dynamicval<bool> ds(didsomething, didsomething);
full_rotate_camera(0, -mouseaim_x);
full_rotate_camera(1, -mouseaim_y);
mouseaim_x = mouseaim_y = 0;