X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame.c;h=1df5a24e7bcedc7316cc72dc0e4aca6abf037eac;hb=e2d2518810a4ab32f6dfd32faa83869307b3aa3d;hp=802c9f5b7874dd4ae8c5641b9e4468c750f335f6;hpb=3367ba5eaec57086e3c1013708967e8a995ef2e3;p=rocksndiamonds.git diff --git a/src/game.c b/src/game.c index 802c9f5b..1df5a24e 100644 --- a/src/game.c +++ b/src/game.c @@ -1791,7 +1791,13 @@ void StartMoving(int x, int y) else if (element == EL_BUTTERFLY || element == EL_FIREFLY) DrawGraphicAnimation(x,y, el2gfx(element), 2, 4, ANIM_NORMAL); else if (element==EL_SONDE) - DrawGraphicAnimation(x,y, GFX_SONDE_START, 8, 2, ANIM_NORMAL); + { + int nextJX = JX + (JX - lastJX); + int nextJY = JY + (JY - lastJY); + + if (!(PlayerPushing && PlayerGfxPos && x == nextJX && y == nextJY)) + DrawGraphicAnimation(x,y, GFX_SONDE_START, 8, 2, ANIM_NORMAL); + } return; }