diff options
-rw-r--r-- | src/camera_system.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/camera_system.cpp b/src/camera_system.cpp index 991d096..a6e8fca 100644 --- a/src/camera_system.cpp +++ b/src/camera_system.cpp | |||
@@ -9,7 +9,7 @@ void CameraSystem::tick(double dt) { | |||
9 | const Map& map = game_.getMap(); | 9 | const Map& map = game_.getMap(); |
10 | vec2i mapBounds = map.getMapSize() * map.getTileSize(); | 10 | vec2i mapBounds = map.getMapSize() * map.getTileSize(); |
11 | 11 | ||
12 | pos_ = follow.loc - (fov_ / 2); | 12 | pos_ = follow.loc - vec2i{0, 16} - (fov_ / 2); |
13 | 13 | ||
14 | if (pos_.x() < 0) { | 14 | if (pos_.x() < 0) { |
15 | pos_.x() = 0; | 15 | pos_.x() = 0; |