* Use overloading in Lisp and Writer
[supertux.git] / src / badguy / flyingsnowball.cpp
index 9b76261..1ce1ef6 100644 (file)
@@ -47,8 +47,8 @@ FlyingSnowBall::write(lisp::Writer& writer)
 {
   writer.start_list("flyingsnowball");
 
-  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("flyingsnowball");
 }