projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changed jump behaviour: Tux will now jump even if the button was pressed (up to)...
[supertux.git]
/
src
/
object
/
growup.cpp
diff --git
a/src/object/growup.cpp
b/src/object/growup.cpp
index
c85535f
..
d422c2a
100644
(file)
--- a/
src/object/growup.cpp
+++ b/
src/object/growup.cpp
@@
-28,11
+28,11
@@
#include "audio/sound_manager.hpp"
GrowUp::GrowUp(Direction direction)
#include "audio/sound_manager.hpp"
GrowUp::GrowUp(Direction direction)
- : MovingSprite(Vector(0,0), "images/powerups/egg/egg.sprite", LAYER_OBJECTS, COLGROUP_MOVING)
+
: MovingSprite(Vector(0,0), "images/powerups/egg/egg.sprite", LAYER_OBJECTS, COLGROUP_MOVING)
{
physic.enable_gravity(true);
physic.set_velocity_x((direction == LEFT)?-100:100);
{
physic.enable_gravity(true);
physic.set_velocity_x((direction == LEFT)?-100:100);
- sound_manager->preload("sounds/grow.
wav
");
+ sound_manager->preload("sounds/grow.
ogg
");
}
void
}
void
@@
-63,7
+63,7
@@
GrowUp::collision(GameObject& other, const CollisionHit& hit )
return ABORT_MOVE;
}
return ABORT_MOVE;
}
- sound_manager->play("sounds/grow.
wav
");
+ sound_manager->play("sounds/grow.
ogg
");
remove_me();
return ABORT_MOVE;
remove_me();
return ABORT_MOVE;