projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be3c510
)
oops, fix that
author
Matthias Braun
<matze@braunis.de>
Sat, 3 Mar 2007 21:38:00 +0000
(21:38 +0000)
committer
Matthias Braun
<matze@braunis.de>
Sat, 3 Mar 2007 21:38:00 +0000
(21:38 +0000)
SVN-Revision: 4924
src/object/camera.cpp
patch
|
blob
|
history
diff --git
a/src/object/camera.cpp
b/src/object/camera.cpp
index
5153dff
..
d4feaaf
100644
(file)
--- a/
src/object/camera.cpp
+++ b/
src/object/camera.cpp
@@
-307,8
+307,9
@@
Camera::update_scroll_normal(float elapsed_time)
if(player->is_dying() || sector->get_height() == 19*32) {
ymode = 0;
- xmode = 0;
}
+ if(player->is_dying())
+ xmode = 0;
if(ymode == 1) {
translation.y = player_pos.y - SCREEN_HEIGHT * config.target_y;