projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
#303: Typo fixes from mathnerd314
[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);
// play sound
sound_manager->play(BUTTON_SOUND);
-
+
// run script
std::istringstream stream(script);
Sector::current()->run_script(stream, "PushButton");
// 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");
}
IMPLEMENT_FACTORY(PushButton, "pushbutton");
-