|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
/* $Id: bomb.c,v 1.36 2003/07/23 01:43:34 stpohle Exp $ */
|
|
|
|
|
/* $Id: bomb.c,v 1.37 2003/07/23 02:10:47 stpohle Exp $ */
|
|
|
|
|
/* everything what have to do with the bombs */
|
|
|
|
|
|
|
|
|
|
#include "bomberclone.h"
|
|
|
|
@ -241,7 +241,7 @@ draw_fire (int x, int y, int d, int frame)
|
|
|
|
|
|
|
|
|
|
src.y = frame * src.w;
|
|
|
|
|
src.x = d * src.w;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
gfx_blit (gfx.fire.image, &src, gfx.screen, &dest, (y << 8));
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
@ -421,6 +421,7 @@ draw_explosion (_bomb * bomb)
|
|
|
|
|
if (map.field[p.x][p.y].ex[d].frame >= gfx.fire.frames)
|
|
|
|
|
map.field[p.x][p.y].ex[d].frame = 0;
|
|
|
|
|
}
|
|
|
|
|
stonelist_add (p.x, p.y);
|
|
|
|
|
draw_fire (p.x, p.y, d, -1);
|
|
|
|
|
p.x += dx;
|
|
|
|
|
p.y += dy;
|
|
|
|
|