From: Christoph Sommer Date: Sun, 29 Oct 2006 16:20:05 +0000 (+0000) Subject: Replace arctis2.jpg background with arctis.jpg when loading old levels X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=9e6cdce36b9324a3fc8a8aaf3aa04edf7985c7b0;p=supertux.git Replace arctis2.jpg background with arctis.jpg when loading old levels SVN-Revision: 4427 --- diff --git a/src/sector.cpp b/src/sector.cpp index 7ef504925..99e5eb9db 100644 --- a/src/sector.cpp +++ b/src/sector.cpp @@ -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;