projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9f7224
)
- little bouncing block fix
author
Ingo Ruhnke
<grumbel@gmx.de>
Mon, 26 Apr 2004 11:14:11 +0000
(11:14 +0000)
committer
Ingo Ruhnke
<grumbel@gmx.de>
Mon, 26 Apr 2004 11:14:11 +0000
(11:14 +0000)
SVN-Revision: 734
src/gameobjs.cpp
patch
|
blob
|
history
diff --git
a/src/gameobjs.cpp
b/src/gameobjs.cpp
index
fd13a77
..
5133535
100644
(file)
--- a/
src/gameobjs.cpp
+++ b/
src/gameobjs.cpp
@@
-120,7
+120,6
@@
BouncyBrick::action(double frame_ratio)
void
BouncyBrick::draw()
{
- int s;
SDL_Rect dest;
if (base.x >= scroll_x - 32 &&
@@
-144,7
+143,7
@@
BouncyBrick::draw()
}
else
{
-
s = (int)scroll_x / 3
0;
+
int s = ((int)scroll_x / 2)%64
0;
plevel->img_bkgd->draw_part(dest.x + s, dest.y,
dest.x, dest.y,dest.w,dest.h);
}