projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b179b98
)
fixed end of level to begin wrap around in the title demo.
author
Tobias Gläßer
<tobi.web@gmx.de>
Mon, 10 May 2004 20:13:01 +0000
(20:13 +0000)
committer
Tobias Gläßer
<tobi.web@gmx.de>
Mon, 10 May 2004 20:13:01 +0000
(20:13 +0000)
SVN-Revision: 1082
src/title.cpp
patch
|
blob
|
history
diff --git
a/src/title.cpp
b/src/title.cpp
index
ab172b6
..
c54652d
100644
(file)
--- a/
src/title.cpp
+++ b/
src/title.cpp
@@
-191,8
+191,8
@@
void draw_demo(GameSession* session, double frame_ratio)
// Wrap around at the end of the level back to the beginnig
if(plevel->width * 32 - 320 < tux->base.x)
{
- tux->
base.x = tux->base.x - (plevel->width * 32 - 640);
- scroll_x =
tux->base.x - 32
0;
+ tux->
level_begin()
+ scroll_x = 0;
}
tux->can_jump = true;