projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7b3967
)
Bug fixed. That test was just reading some random memory, don't forget we are talking...
author
Ricardo Cruz
<rick2@aeiou.pt>
Mon, 10 May 2004 14:38:53 +0000
(14:38 +0000)
committer
Ricardo Cruz
<rick2@aeiou.pt>
Mon, 10 May 2004 14:38:53 +0000
(14:38 +0000)
Congrats go to Ingo.
SVN-Revision: 1072
src/world.cpp
patch
|
blob
|
history
diff --git
a/src/world.cpp
b/src/world.cpp
index
3322b9f
..
a09c771
100644
(file)
--- a/
src/world.cpp
+++ b/
src/world.cpp
@@
-178,7
+178,7
@@
World::draw()
int y,x;
/* Draw the real background */
- if(
get_level()->bkgd_image[0] != '\0'
)
+ if(
level->img_bkgd
)
{
int s = (int)((float)scroll_x * ((float)level->bkgd_speed/60.)) % screen->w;
level->img_bkgd->draw_part(s, 0,0,0,level->img_bkgd->w - s, level->img_bkgd->h);