projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
small fixes (timing and animation) on nolok
[supertux.git]
/
src
/
trigger
/
door.cpp
diff --git
a/src/trigger/door.cpp
b/src/trigger/door.cpp
index
43a4b29
..
4c338a5
100644
(file)
--- a/
src/trigger/door.cpp
+++ b/
src/trigger/door.cpp
@@
-77,7
+77,7
@@
void
Door::action(float )
{
//Check if door animation is complete
- if
(!
sprite->check_animation()) {
+ if
(
sprite->check_animation()) {
GameSession::current()->respawn(target_sector, target_spawnpoint);
}
}