X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_bd%2Fbd_cave.c;h=7e808a25727c8239a50a6c5ab0097e283ffc0c9b;hb=3b292f6abf8f677bbfdbd9b583c54113b8e64959;hp=8cc703a493a7022241d47e4e63467cd7e95fc06d;hpb=70d64256513a57f375431931c606ae85ed5b9d3f;p=rocksndiamonds.git diff --git a/src/game_bd/bd_cave.c b/src/game_bd/bd_cave.c index 8cc703a4..7e808a25 100644 --- a/src/game_bd/bd_cave.c +++ b/src/game_bd/bd_cave.c @@ -1541,7 +1541,8 @@ void gd_drawcave_game(const GdCave *cave, draw = elemdrawing[actual]; // draw special graphics if player is pushing something - if ((cave->last_direction == GD_MV_LEFT || cave->last_direction == GD_MV_RIGHT) && + if (use_bd_pushing_graphics() && + (cave->last_direction == GD_MV_LEFT || cave->last_direction == GD_MV_RIGHT) && is_player(cave, x, y) && can_be_pushed_dir(cave, x, y, cave->last_direction)) { // special check needed when smooth game element movements selected in setup menu: