about summary refs log tree commit diff
path: root/src/GameTick.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/GameTick.cpp')
-rw-r--r--src/GameTick.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/GameTick.cpp b/src/GameTick.cpp
index 932a38c..21d7858 100644
--- a/src/GameTick.cpp
+++ b/src/GameTick.cpp
@@ -1671,8 +1671,10 @@ void Game::Tick()
 					rot2 = crouch ? 1.5f : 2.3f;
 					break;
 				}
-				camera.rotation -= rot;
-				camera.rotation2 -= rot2;
+				if (j == 0) { // player
+					camera.rotation -= rot;
+					camera.rotation2 -= rot2;
+				}
 
 				ALuint gunsound;
 				switch (person[j].whichgun) {