From: Matthias Braun Date: Thu, 9 Sep 2004 10:11:56 +0000 (+0000) Subject: fix old levels background speed not getting adjusted to new format X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=1cf12b49ede4dfae1217cfad3bf1e0d0755a9b39;p=supertux.git fix old levels background speed not getting adjusted to new format SVN-Revision: 1882 --- diff --git a/src/sector.cpp b/src/sector.cpp index 17775a373..c31dda2b6 100644 --- 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;