author | ecalot
<ecalot> 2004-08-20 09:06:54 UTC |
committer | ecalot
<ecalot> 2004-08-20 09:06:54 UTC |
parent | 0d3c5e5ec7905d7a99b553229dd6dbc8a8ccf8d4 |
FP/src/ker/room.c | +7 | -2 |
diff --git a/FP/src/ker/room.c b/FP/src/ker/room.c index 8cb44a6..425069b 100644 --- a/FP/src/ker/room.c +++ b/FP/src/ker/room.c @@ -173,13 +173,18 @@ void roomDrawBackground(tRoom* room) { ); } /* torch/this */ - if (tile.hasTorch) { + if (tile.hasTorch) { /* animation */ outputDrawBitmap( roomGfx.torch->pFrames[(map->time+2*x+y)%(roomGfx.torch->frames)], x*TILE_W+16, y*TILE_H-40 ); - } /* TODO: draw base */ + outputDrawBitmap( /* base */ + roomGfx.environment->pFrames[56], + x*TILE_W+8, + y*TILE_H-25 + ); + } /* normal/this */ if (tile.hasFloor) { outputDrawBitmap(