diff options
Diffstat (limited to 'src/GameTick.cpp')
-rw-r--r-- | src/GameTick.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/GameTick.cpp b/src/GameTick.cpp index f72a1c4..3c44bdb 100644 --- a/src/GameTick.cpp +++ b/src/GameTick.cpp @@ -780,10 +780,9 @@ void renderLaser(Game* game) break; case handgun1: case handgun2: - coeff = thirdperson ? 0.35f : 0.65f; aim = DoRotation(joints[righthand].position - - joints[head].position * coeff - - joints[neck].position * (1.0 - coeff), + - joints[head].position * 0.35f + - joints[neck].position * 0.65f, 0.0f, player.playerrotation - 0.9f, 0.0f); coeff = -0.15f; break; @@ -2174,7 +2173,7 @@ void Game::Tick() } } - if (lasersight && !zoom) + if (thirdperson && !zoom) renderLaser(this); //Snow |