author | ecalot
<ecalot> 2004-08-21 05:07:46 UTC |
committer | ecalot
<ecalot> 2004-08-21 05:07:46 UTC |
parent | d96539e2fb644bedc79c69c8ec355d3385b5aab3 |
FP/src/ker/room.c | +5 | -5 |
diff --git a/FP/src/ker/room.c b/FP/src/ker/room.c index b8d5861..4b1f1f6 100644 --- a/FP/src/ker/room.c +++ b/FP/src/ker/room.c @@ -225,21 +225,21 @@ void drawBackPanel(tRoom* room,int x, int y) { ); } /* empty_bricks/this */ - if ((0<tile.bricks)&&(tile.bricks<4)) { + if ((0<tile.bricks)&&(tile.bricks<4)&&(tile.code==T_EMPTY)) { outputDrawBitmap( roomGfx.environment->pFrames[51+tile.bricks], x*TILE_W, y*TILE_H-18 ); } - /* floor_bricks/this * - if ((0<tile.bricks)&&(tile.bricks<4)) { + /* floor_bricks/this */ + if ((0<tile.bricks)&&(tile.bricks<3)&&(tile.code==T_FLOOR)) { outputDrawBitmap( - roomGfx.environment->pFrames[51+tile.bricks], + roomGfx.environment->pFrames[11+tile.bricks], x*TILE_W, y*TILE_H-18 ); - } */ + } /* normal/this */ if (tile.hasFloor) { outputDrawBitmap(