X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Ftile.cpp;h=c45f79c9c9028222753bda25d51c66a5c397755c;hb=24dee16ba721c757b53c3cca08951c867b49c6a7;hp=3157c5104bfc3f0ffadf6e27cfa49f894ffcf3a6;hpb=82895aabbae07b59a19e09a61ca94cd7b1603702;p=supertux.git diff --git a/src/tile.cpp b/src/tile.cpp index 3157c5104..c45f79c9c 100644 --- a/src/tile.cpp +++ b/src/tile.cpp @@ -116,7 +116,8 @@ Tile::parse_images(const lisp::Lisp& images_lisp) cur->get(file); imagespecs.push_back(ImageSpec(file, Rect(0, 0, 0, 0))); } else if(cur->get_type() == lisp::Lisp::TYPE_CONS && - cur->get_car()->get_type() == lisp::Lisp::TYPE_SYMBOL) { + cur->get_car()->get_type() == lisp::Lisp::TYPE_SYMBOL && + cur->get_car()->get_symbol() == "region") { const lisp::Lisp* ptr = cur->get_cdr(); std::string file;