X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fobject%2Fskull_tile.cpp;h=7721a5b648c82cd932e4b448d5d87ff670ebba00;hb=555d1b7bebb45326d82d934e07463209837309b0;hp=025b5e8ae4d76f368213d8cbd4bbdbf66a63bc41;hpb=c307442e4bf1352cf1807b171b5ab175ba063b31;p=supertux.git diff --git a/src/object/skull_tile.cpp b/src/object/skull_tile.cpp index 025b5e8ae..7721a5b64 100644 --- a/src/object/skull_tile.cpp +++ b/src/object/skull_tile.cpp @@ -32,7 +32,7 @@ static const float CRACKTIME = 0.3f; static const float FALLTIME = 0.8f; SkullTile::SkullTile(const lisp::Lisp& lisp) - : MovingSprite(lisp, "images/objects/skull_tile/skull_tile.sprite", LAYER_TILES, COLGROUP_STATIC), hit(false), falling(false) + : MovingSprite(lisp, "images/objects/skull_tile/skull_tile.sprite", LAYER_TILES, COLGROUP_STATIC), hit(false), falling(false) { } @@ -50,7 +50,7 @@ void SkullTile::draw(DrawingContext& context) { Vector pos = get_pos(); - // shacking + // shaking if(timer.get_timegone() > CRACKTIME) { pos.x += systemRandom.rand(-3, 3); }