summary refs log tree commit diff stats
path: root/src/camera_system.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/camera_system.cpp')
-rw-r--r--src/camera_system.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/camera_system.cpp b/src/camera_system.cpp index c46b9dd..0ef3c36 100644 --- a/src/camera_system.cpp +++ b/src/camera_system.cpp
@@ -4,6 +4,8 @@
4#include "map.h" 4#include "map.h"
5 5
6void CameraSystem::tick(double dt) { 6void CameraSystem::tick(double dt) {
7 if (game_.isGameplayPaused()) return;
8
7 if (!locked_ && followingSprite_ != -1) { 9 if (!locked_ && followingSprite_ != -1) {
8 const Sprite& follow = game_.getSprite(followingSprite_); 10 const Sprite& follow = game_.getSprite(followingSprite_);
9 11