diff options
Diffstat (limited to 'src/GameTick.cpp')
-rw-r--r-- | src/GameTick.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/GameTick.cpp b/src/GameTick.cpp index 28d3ef3..7ecab8e 100644 --- a/src/GameTick.cpp +++ b/src/GameTick.cpp @@ -755,17 +755,12 @@ void renderLaser(Game* game) auto& rotation = player.playerrotation; switch (player.whichgun) { case assaultrifle: + case shotgun: aim = DoRotation(joints[lefthand].position - joints[righthand].position, 0.0f, rotation - 2.5f, 0.0f); coeff = 0.15f; break; - case shotgun: - aim = DoRotation(joints[lefthand].position - - joints[righthand].position, - 0.0f, rotation + 4.0f, 0.0f); - coeff = 0.4f; - break; case handgun1: case handgun2: coeff = thirdperson ? 0.35f : 0.65f; |