(svn r16384) -Codechange: move u.effect to EffectVehicle

This commit is contained in:
rubidium
2009-05-22 18:56:25 +00:00
parent 2365d27a4d
commit 6d1c974254
10 changed files with 60 additions and 65 deletions

View File

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