diff options
Diffstat (limited to 'src/disaster_cmd.cpp')
-rw-r--r-- | src/disaster_cmd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/disaster_cmd.cpp b/src/disaster_cmd.cpp index 615f27b32..7414b7f37 100644 --- a/src/disaster_cmd.cpp +++ b/src/disaster_cmd.cpp @@ -607,7 +607,7 @@ static void DisasterTick_Big_Ufo(Vehicle *v) } InitializeDisasterVehicle(u, -6 * TILE_SIZE, v->y_pos, 135, DIR_SW, ST_Big_Ufo_Destroyer); - u->u.disaster.unk2 = v->index; + u->u.disaster.big_ufo_destroyer_target = v->index; w = ForceAllocateSpecialVehicle(); if (w == NULL) return; @@ -667,7 +667,7 @@ static void DisasterTick_Big_Ufo_Destroyer(Vehicle *v) } if (v->current_order.dest == 0) { - u = GetVehicle(v->u.disaster.unk2); + u = GetVehicle(v->u.disaster.big_ufo_destroyer_target); if (delta(v->x_pos, u->x_pos) > TILE_SIZE) return; v->current_order.dest = 1; |