forked from mirror/OpenTTD
(svn r16384) -Codechange: move u.effect to EffectVehicle
This commit is contained in:
@@ -213,8 +213,8 @@ static void HandleBrokenShip(Vehicle *v)
|
||||
}
|
||||
|
||||
if (!(v->vehstatus & VS_HIDDEN)) {
|
||||
Vehicle *u = CreateEffectVehicleRel(v, 4, 4, 5, EV_BREAKDOWN_SMOKE);
|
||||
if (u != NULL) u->u.effect.animation_state = v->breakdown_delay * 2;
|
||||
EffectVehicle *u = CreateEffectVehicleRel(v, 4, 4, 5, EV_BREAKDOWN_SMOKE);
|
||||
if (u != NULL) u->animation_state = v->breakdown_delay * 2;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user