equal
deleted
inserted
replaced
702 SND_0F_VEHICLE_BREAKDOWN : SND_35_COMEDY_BREAKDOWN, v); |
702 SND_0F_VEHICLE_BREAKDOWN : SND_35_COMEDY_BREAKDOWN, v); |
703 } |
703 } |
704 |
704 |
705 if (!(v->vehstatus & VS_HIDDEN)) { |
705 if (!(v->vehstatus & VS_HIDDEN)) { |
706 Vehicle *u = CreateEffectVehicleRel(v, 4, 4, 5, EV_BREAKDOWN_SMOKE); |
706 Vehicle *u = CreateEffectVehicleRel(v, 4, 4, 5, EV_BREAKDOWN_SMOKE); |
707 if (u != NULL) u->u.special.animation_state = v->breakdown_delay * 2; |
707 if (u != NULL) u->u.effect.animation_state = v->breakdown_delay * 2; |
708 } |
708 } |
709 } |
709 } |
710 |
710 |
711 if ((v->tick_counter & 1) == 0) { |
711 if ((v->tick_counter & 1) == 0) { |
712 if (--v->breakdown_delay == 0) { |
712 if (--v->breakdown_delay == 0) { |