Make Tux run automatically. As before, if he is carrying something Tux
[supertux.git] / src / object / ambient_sound.cpp
index b423186..43ffbde 100644 (file)
@@ -221,18 +221,21 @@ AmbientSound::unexpose(HSQUIRRELVM vm, SQInteger table_idx)
 }
 
 void
-AmbientSound::set_pos(float x, float y){
+AmbientSound::set_pos(float x, float y)
+{
   position.x = x;
   position.y = y;
 }
 
 float
-AmbientSound::get_pos_x(){;
+AmbientSound::get_pos_x() const
+{
   return position.x;
 }
 
 float
-AmbientSound::get_pos_y(){
+AmbientSound::get_pos_y() const
+{
   return position.y;
 }