From 7093660729402d3fd0cb361d6dea9f4b61a35734 Mon Sep 17 00:00:00 2001 From: Volodymyr Patuta Date: Thu, 31 Dec 2020 16:12:36 +0100 Subject: [PATCH] no pause when looking at an object --- window.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/window.c b/window.c index f70cc23..e194fd2 100644 --- a/window.c +++ b/window.c @@ -620,7 +620,7 @@ void key(int keycode) { break; case GL4DK_0: _p = 0; - _pause = 1; + /*_pause = 1;*/ _movement = 0; _cam.x = (int)_cam.x; _cam.y = (int)_cam.y; @@ -628,7 +628,7 @@ void key(int keycode) { break; case GL4DK_1: _p = 1; - _pause = 1; + /*_pause = 1;*/ _movement = 0; _cam.x = (int)_cam.x; _cam.y = (int)_cam.y; @@ -636,7 +636,7 @@ void key(int keycode) { break; case GL4DK_2: _p = 2; - _pause = 1; + /*_pause = 1;*/ _movement = 0; _cam.x = (int)_cam.x; _cam.y = (int)_cam.y; @@ -644,7 +644,7 @@ void key(int keycode) { break; case GL4DK_3: _p = 3; - _pause = 1; + /*_pause = 1;*/ _movement = 0; _cam.x = (int)_cam.x; _cam.y = (int)_cam.y; @@ -652,7 +652,7 @@ void key(int keycode) { break; case GL4DK_4: _p = 4; - _pause = 1; + /*_pause = 1;*/ _movement = 0; _cam.x = (int)_cam.x; _cam.y = (int)_cam.y; @@ -660,7 +660,7 @@ void key(int keycode) { break; case GL4DK_5: _p = 5; - _pause = 1; + /*_pause = 1;*/ _movement = 0; _cam.x = (int)_cam.x; _cam.y = (int)_cam.y; @@ -668,7 +668,7 @@ void key(int keycode) { break; case GL4DK_6: _p = 6; - _pause = 1; + /*_pause = 1;*/ _movement = 0; _cam.x = (int)_cam.x; _cam.y = (int)_cam.y; @@ -676,7 +676,7 @@ void key(int keycode) { break; case GL4DK_7: _p = 7; - _pause = 1; + /*_pause = 1;*/ _movement = 0; _cam.x = (int)_cam.x; _cam.y = (int)_cam.y; @@ -684,7 +684,7 @@ void key(int keycode) { break; case GL4DK_8: _p = 8; - _pause = 1; + /*_pause = 1;*/ _movement = 0; _cam.x = (int)_cam.x; _cam.y = (int)_cam.y; @@ -692,7 +692,7 @@ void key(int keycode) { break; case GL4DK_9: _p = 9; - _pause = 1; + /*_pause = 1;*/ _movement = 0; _cam.x = (int)_cam.x; _cam.y = (int)_cam.y;