From 2598835c54a3869a477d287d2845bbe42790a359 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nguy=E1=BB=85n=20Gia=20Phong?= Date: Fri, 18 Aug 2023 02:03:35 +0900 Subject: Fix typo from -Wall -Werror --- src/Person.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/Person.cpp') diff --git a/src/Person.cpp b/src/Person.cpp index c5ce963..d4a298b 100644 --- a/src/Person.cpp +++ b/src/Person.cpp @@ -650,7 +650,8 @@ void Person::control() void Person::DoStuff(int who) { - if (targetanimation != idleanim && targetanimation != crouchanim || visions) + if ((targetanimation != idleanim && targetanimation != crouchanim) + || visions) playerlowrotation = playerrotation; if (targetanimation != crouchanim && currentanimation != crouchanim) { if (playerrotation > playerlowrotation + 50) { -- cgit v1.2.3