diff options
Diffstat (limited to 'src/ship_cmd.cpp')
-rw-r--r-- | src/ship_cmd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ship_cmd.cpp b/src/ship_cmd.cpp index fb0e2e07b..a7c49e88d 100644 --- a/src/ship_cmd.cpp +++ b/src/ship_cmd.cpp @@ -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; } } |