diff options
| author | Nguyễn Gia Phong <cnx@loang.net> | 2023-08-18 02:03:35 +0900 |
|---|---|---|
| committer | Nguyễn Gia Phong <cnx@loang.net> | 2023-08-18 02:03:35 +0900 |
| commit | 2598835c54a3869a477d287d2845bbe42790a359 (patch) | |
| tree | 9df55e3c8c5dd8c108d5028f986ba32023e5e1c2 /src/Person.cpp | |
| parent | 4771bd8b36ef382fb98312d27022dfcb0ba07b38 (diff) | |
| download | blackshades-2598835c54a3869a477d287d2845bbe42790a359.tar.gz | |
Fix typo from -Wall -Werror
Diffstat (limited to 'src/Person.cpp')
| -rw-r--r-- | src/Person.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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) { |
