X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Fgame.c;h=eed539062318c26c5e411bc3138e469bc3586948;hp=dd9df82c71dd1bbb22e6eb9ae654837531ee6d20;hb=90faeaee222acbf966229f09465e90e46c4ae6aa;hpb=2181d7515fcdeae73c7482c3e19cc6120279b556 diff --git a/src/game.c b/src/game.c index dd9df82c..eed53906 100644 --- a/src/game.c +++ b/src/game.c @@ -5430,10 +5430,11 @@ static int MovingOrBlocked2Element(int x, int y) int oldx, oldy; Blocked2Moving(x, y, &oldx, &oldy); + return Tile[oldx][oldy]; } - else - return element; + + return element; } static int MovingOrBlocked2ElementIfNotLeaving(int x, int y)