summary refs log tree commit diff
path: root/src/Person.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Person.cpp')
-rw-r--r--src/Person.cpp3
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) {