From 1084e3f994eeedaf54cc8c9785f75ddb1727191e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nguy=E1=BB=85n=20Gia=20Phong?= Date: Thu, 16 Sep 2021 15:04:10 +0700 Subject: Fix persistent zooming --- src/GameTick.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/GameTick.cpp') diff --git a/src/GameTick.cpp b/src/GameTick.cpp index 8bea7cf..efc473f 100644 --- a/src/GameTick.cpp +++ b/src/GameTick.cpp @@ -1100,6 +1100,8 @@ void Game::Tick() person[i].recoil-=multiplier * 10; break; } + if (!person[0].aiming || visions) + this->zoom = false; break; case eviltype: switch (person[i].whichgun) { -- cgit v1.2.3