From 95aa4d8fe5000426408efda6c9fd1327fb209bc3 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Wed, 22 Apr 2020 01:44:53 +0200 Subject: [PATCH] fixed ESC in 3D --- control.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/control.cpp b/control.cpp index b9e5aa9f..b1995fc7 100644 --- a/control.cpp +++ b/control.cpp @@ -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 ds(didsomething, didsomething); full_rotate_camera(0, -mouseaim_x); full_rotate_camera(1, -mouseaim_y); mouseaim_x = mouseaim_y = 0;