projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Don't die when main icon cannot be loaded
[supertux.git]
/
src
/
object
/
unstable_tile.cpp
diff --git
a/src/object/unstable_tile.cpp
b/src/object/unstable_tile.cpp
index
089a18d
..
0faca94
100644
(file)
--- a/
src/object/unstable_tile.cpp
+++ b/
src/object/unstable_tile.cpp
@@
-70,8
+70,8
@@
UnstableTile::update(float elapsed_time)
case STATE_DISINTEGRATING:
movement = physic.get_movement(elapsed_time);
if (sprite->animation_done()) {
- remove_me();
- return;
+
remove_me();
+
return;
}
break;
}