From: Matthias Braun Date: Tue, 23 Nov 2004 14:36:39 +0000 (+0000) Subject: fix for last commit X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=62172093eea49300e15dd06962e541f85b0b52ad;p=supertux.git fix for last commit SVN-Revision: 2147 --- diff --git a/src/background.cpp b/src/background.cpp index 5785df3d9..56506e5ba 100644 --- a/src/background.cpp +++ b/src/background.cpp @@ -33,6 +33,7 @@ Background::Background() Background::Background(LispReader& reader) : type(INVALID), layer(LAYER_BACKGROUND0), image(0) { + reader.read_int("layer", layer); if(reader.read_string("image", imagefile) && reader.read_float("speed", speed)) { set_image(imagefile, speed);