|
|
@ -14,7 +14,7 @@ draw_bomb (_bomb * bomb)
|
|
|
|
int x=bomb->pos.x >> 8,
|
|
|
|
int x=bomb->pos.x >> 8,
|
|
|
|
y= bomb->pos.y >> 8;
|
|
|
|
y= bomb->pos.y >> 8;
|
|
|
|
|
|
|
|
|
|
|
|
if (bomb->state != BS_trigger) {
|
|
|
|
if (bomb->state != BS_trigger || ((bomb->state == BS_trigger) && (bomb->to<BOMB_TIMEOUT*TIME_FACTOR))) {
|
|
|
|
/* check the framenumber */
|
|
|
|
/* check the framenumber */
|
|
|
|
if (bomb->frameto-- == 0) {
|
|
|
|
if (bomb->frameto-- == 0) {
|
|
|
|
bomb->frameto = ANI_BOMBTIMEOUT;
|
|
|
|
bomb->frameto = ANI_BOMBTIMEOUT;
|
|
|
|