projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Finite sprite animations now stop at last frame, not first.
[supertux.git]
/
src
/
trigger
/
hatch.cpp
diff --git
a/src/trigger/hatch.cpp
b/src/trigger/hatch.cpp
index
26286e2
..
f2e11a3
100644
(file)
--- a/
src/trigger/hatch.cpp
+++ b/
src/trigger/hatch.cpp
@@
-75,7
+75,7
@@
void
Hatch::update(float )
{
//Check if hatch animation is complete
- if(sprite->
check_animation
()) {
+ if(sprite->
animation_done
()) {
sprite->set_action("normal");
GameSession::current()->respawn(target_sector, target_spawnpoint);
}