fix old levels background speed not getting adjusted to new format
authorMatthias Braun <matze@braunis.de>
Thu, 9 Sep 2004 10:11:56 +0000 (10:11 +0000)
committerMatthias Braun <matze@braunis.de>
Thu, 9 Sep 2004 10:11:56 +0000 (10:11 +0000)
SVN-Revision: 1882

src/sector.cpp

index 17775a3..c31dda2 100644 (file)
@@ -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;