* Updated Czech translation
[supertux.git] / src / badguy / yeti.cpp
index 8fb1a95..e5a9b5c 100644 (file)
@@ -168,6 +168,16 @@ Yeti::kill_fall()
 void
 Yeti::write(lisp::Writer& )
 {
+  writer.start_list("yeti");
+
+  writer.write_float("x", start_position.x);
+  writer.write_float("y", start_position.y);
+
+  if(dead_script != "") {
+    writer.write_string("dead-script", dead_script);
+  }
+
+  writer.end_list("yeti");
 }
 
 void