projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5023c5b
)
fix old levels background speed not getting adjusted to new format
author
Matthias Braun
<matze@braunis.de>
Thu, 9 Sep 2004 10:11:56 +0000
(10:11 +0000)
committer
Matthias Braun
<matze@braunis.de>
Thu, 9 Sep 2004 10:11:56 +0000
(10:11 +0000)
SVN-Revision: 1882
src/sector.cpp
patch
|
blob
|
history
diff --git
a/src/sector.cpp
b/src/sector.cpp
index
17775a3
..
c31dda2
100644
(file)
--- a/
src/sector.cpp
+++ b/
src/sector.cpp
@@
-155,6
+155,7
@@
Sector::parse_old_format(LispReader& reader)
reader.read_string("background", backgroundimage);
float bgspeed = .5;
reader.read_float("bkgd_speed", bgspeed);
+ bgspeed /= 100;
Color bkgd_top, bkgd_bottom;
int r = 0, g = 0, b = 128;