X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Ftools.c;h=5bba1c107785e4bfbb5dc8dc1c70e03ca7037f4a;hb=ac4c028b525860750de315d626730ac493f56944;hp=ab66bdf21921c5f72f565bc67fea60ec5f2cafbb;hpb=72e44014938c9042261b67213a6cd37b7a17488f;p=rocksndiamonds.git diff --git a/src/tools.c b/src/tools.c index ab66bdf2..5bba1c10 100644 --- a/src/tools.c +++ b/src/tools.c @@ -575,9 +575,9 @@ void DrawPlayer(struct PlayerInfo *player) if (player_is_moving) { - if (Store[last_jx][last_jy] && IS_DRAWABLE(last_element)) + if (Back[last_jx][last_jy] && IS_DRAWABLE(last_element)) { - DrawLevelElement(last_jx, last_jy, Store[last_jx][last_jy]); + DrawLevelElement(last_jx, last_jy, Back[last_jx][last_jy]); if (last_element == EL_DYNAMITE_ACTIVE || last_element == EL_SP_DISK_RED_ACTIVE) @@ -615,8 +615,8 @@ void DrawPlayer(struct PlayerInfo *player) /* draw things behind the player, if needed */ /* ----------------------------------------------------------------------- */ - if (Store[jx][jy]) - DrawLevelElement(jx, jy, Store[jx][jy]); + if (Back[jx][jy]) + DrawLevelElement(jx, jy, Back[jx][jy]); else if (IS_ACTIVE_BOMB(element)) DrawLevelElement(jx, jy, EL_EMPTY); else