projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix cr/lfs and remove trailing whitespaces...
[supertux.git]
/
src
/
object
/
skull_tile.cpp
diff --git
a/src/object/skull_tile.cpp
b/src/object/skull_tile.cpp
index
abbddd8
..
04f140c
100644
(file)
--- a/
src/object/skull_tile.cpp
+++ b/
src/object/skull_tile.cpp
@@
-54,7
+54,7
@@
SkullTile::draw(DrawingContext& context)
// shacking
if(timer.get_timegone() > CRACKTIME) {
pos.x += systemRandom.rand(-3, 3);
// shacking
if(timer.get_timegone() > CRACKTIME) {
pos.x += systemRandom.rand(-3, 3);
- }
+ }
sprite->draw(context, pos, layer);
}
sprite->draw(context, pos, layer);
}
@@
-71,7
+71,7
@@
SkullTile::update(float elapsed_time)
} else if(hit) {
if(timer.check()) {
falling = true;
} else if(hit) {
if(timer.check()) {
falling = true;
- physic.enable_gravity(true);
+ physic.enable_gravity(true);
flags &= ~FLAG_SOLID;
timer.stop();
} else if(!timer.started()) {
flags &= ~FLAG_SOLID;
timer.stop();
} else if(!timer.started()) {