Replace arctis2.jpg background with arctis.jpg when loading old levels
authorChristoph Sommer <mail@christoph-sommer.de>
Sun, 29 Oct 2006 16:20:05 +0000 (16:20 +0000)
committerChristoph Sommer <mail@christoph-sommer.de>
Sun, 29 Oct 2006 16:20:05 +0000 (16:20 +0000)
SVN-Revision: 4427

src/sector.cpp

index 7ef5049..99e5eb9 100644 (file)
@@ -227,6 +227,7 @@ Sector::parse_old_format(const lisp::Lisp& reader)
 
   std::string backgroundimage;
   reader.get("background", backgroundimage);
+  if (backgroundimage == "arctis2.jpg") backgroundimage = "arctis.jpg";
   float bgspeed = .5;
   reader.get("bkgd_speed", bgspeed);
   bgspeed /= 100;