projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
some cleanups in the sprite class, increased delta for collision response
[supertux.git]
/
src
/
trigger
/
door.cpp
diff --git
a/src/trigger/door.cpp
b/src/trigger/door.cpp
index
a832da9
..
1d576ae
100644
(file)
--- a/
src/trigger/door.cpp
+++ b/
src/trigger/door.cpp
@@
-90,8
+90,7
@@
void
Door::event(Player& , EventType type)
{
if(type == EVENT_ACTIVATE) {
- sprite->set_action("open");
- sprite->start_animation(1);
+ sprite->set_action("open", 1);
}
}