X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Ftile.cpp;h=c45f79c9c9028222753bda25d51c66a5c397755c;hb=69f1f633dec2d8a8f1286cf072b6725c75eaeb6a;hp=ea18d8e56edfdb4a26c5803af2df755f9d966754;hpb=e58a0205a8836820b53a7b875942bae7b0e629fd;p=supertux.git diff --git a/src/tile.cpp b/src/tile.cpp index ea18d8e56..c45f79c9c 100644 --- a/src/tile.cpp +++ b/src/tile.cpp @@ -20,8 +20,8 @@ // 02111-1307, USA. #include -#include -#include +#include +#include #include #include @@ -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;