projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de6daeb
)
maybe fix camera jumping when respawning
author
Matthias Braun
<matze@braunis.de>
Thu, 31 Jan 2008 19:52:23 +0000
(19:52 +0000)
committer
Matthias Braun
<matze@braunis.de>
Thu, 31 Jan 2008 19:52:23 +0000
(19:52 +0000)
SVN-Revision: 5302
src/object/camera.cpp
patch
|
blob
|
history
diff --git
a/src/object/camera.cpp
b/src/object/camera.cpp
index
28eab99
..
049ea88
100644
(file)
--- 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();