Camera: Fix shooting line offsets (#9681)
authorSmallJoker <SmallJoker@users.noreply.github.com>
Thu, 16 Apr 2020 16:32:07 +0000 (18:32 +0200)
committerGitHub <noreply@github.com>
Thu, 16 Apr 2020 16:32:07 +0000 (18:32 +0200)
commit45999b74e610b13e8cda20c0c420e152b9837ea6
tree5c82a99433496ce5cf15c24da30beb66bf7ff100
parent5cbe8437a8f7efc9c76baf23de700e96ad96b385
Camera: Fix shooting line offsets (#9681)

Removes duplicated offset calculations from Game and use whatever the Camera class returns.
This keeps the eye position nicely in sync, and gets rid of duplicated code.
src/client/camera.cpp
src/client/camera.h
src/client/game.cpp
src/client/localplayer.h