From 52a0b9a014039ff36e14b670a17fc61c7e90011c Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Thu, 31 Jan 2008 19:52:23 +0000 Subject: [PATCH] maybe fix camera jumping when respawning SVN-Revision: 5302 --- src/object/camera.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/object/camera.cpp b/src/object/camera.cpp index 28eab996b..049ea88b2 100644 --- a/src/object/camera.cpp +++ b/src/object/camera.cpp @@ -202,7 +202,7 @@ Camera::write(lisp::Writer& writer) void Camera::reset(const Vector& tuxpos) { - translation.x = tuxpos.x - SCREEN_WIDTH/3 * 2; + translation.x = tuxpos.x - SCREEN_WIDTH/2; translation.y = tuxpos.y - SCREEN_HEIGHT/2; shakespeed = 0; shaketimer.stop(); -- 2.11.0