From: Marek Moeckel Date: Sat, 16 Jul 2005 21:34:39 +0000 (+0000) Subject: added point sprite for flexlay X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=3f40d1020efa9efeddfcdb8fadf243d262acc8b9;p=supertux.git added point sprite for flexlay small patch to path to make "circular" optional SVN-Revision: 2723 --- diff --git a/data/images/engine/editor/point.png b/data/images/engine/editor/point.png new file mode 100644 index 000000000..24c57f714 Binary files /dev/null and b/data/images/engine/editor/point.png differ diff --git a/src/object/path.cpp b/src/object/path.cpp index 4296315a4..941e9d092 100644 --- a/src/object/path.cpp +++ b/src/object/path.cpp @@ -46,8 +46,10 @@ Path::Path(const lisp::Lisp& reader) circular = true; assert (iter.next()); token = iter.item(); - assert(token == "circular"); - iter.value()->get(circular); + if (token == "circular") { + iter.value()->get(circular); + iter.next(); + } pixels_per_second = DEFAULT_PIXELS_PER_SECOND; assert (iter.next());