projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed Rocks being flagged as on the ground while they are carried
[supertux.git]
/
src
/
object
/
pushbutton.cpp
diff --git
a/src/object/pushbutton.cpp
b/src/object/pushbutton.cpp
index
45012f3
..
30e364c
100644
(file)
--- a/
src/object/pushbutton.cpp
+++ b/
src/object/pushbutton.cpp
@@
-71,7
+71,7
@@
PushButton::collision(GameObject& other, const CollisionHit& hit)
// play sound
sound_manager->play(BUTTON_SOUND);
-
+
// run script
std::istringstream stream(script);
Sector::current()->run_script(stream, "PushButton");
@@
-80,4
+80,3
@@
PushButton::collision(GameObject& other, const CollisionHit& hit)
}
IMPLEMENT_FACTORY(PushButton, "pushbutton");
-