trigger bomb is now animated last 5 secs

origin
patty21 23 years ago
parent f5cbc3cf32
commit 6ff7334359

@ -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;

Loading…
Cancel
Save