converted all sound files to .ogg (to avoid problems with different sampling rates...
[supertux.git] / src / badguy / mrtree.cpp
index 601eebc..82ec915 100644 (file)
@@ -20,7 +20,7 @@
 
 #include <config.h>
 
-#include "mrtree.h"
+#include "mrtree.hpp"
 
 static const float WALKSPEED = 50;
 static const float WALKSPEED_SMALL = 30;
@@ -64,7 +64,7 @@ MrTree::collision_squished(Player& player)
     mystate = STATE_NORMAL;
     activate();
 
-    sound_manager->play_sound("squish", get_pos(), player.get_pos());      
+    sound_manager->play("sounds/squish.ogg", get_pos());
     player.bounce(*this);
   } else {
     sprite->set_action(dir == LEFT ? "squished-left" : "squished-right");