* Use overloading in Lisp and Writer
[supertux.git] / src / badguy / zeekling.cpp
index 83c6adf..3d6ec90 100644 (file)
@@ -46,8 +46,8 @@ Zeekling::write(lisp::Writer& writer)
 {
   writer.start_list("zeekling");
 
-  writer.write_float("x", start_position.x);
-  writer.write_float("y", start_position.y);
+  writer.write("x", start_position.x);
+  writer.write("y", start_position.y);
 
   writer.end_list("zeekling");
 }