fix for last commit
authorMatthias Braun <matze@braunis.de>
Tue, 23 Nov 2004 14:36:39 +0000 (14:36 +0000)
committerMatthias Braun <matze@braunis.de>
Tue, 23 Nov 2004 14:36:39 +0000 (14:36 +0000)
SVN-Revision: 2147

src/background.cpp

index 5785df3..56506e5 100644 (file)
@@ -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);