From a67957866a9006e05158b9735b228bd5b93390a0 Mon Sep 17 00:00:00 2001 From: rubidium Date: Thu, 26 Jul 2007 15:37:19 +0000 Subject: (svn r10697) -Codechange: give a more sensible names to some of the unkX variables. --- src/disaster_cmd.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/disaster_cmd.cpp') 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; -- cgit v1.2.3-54-g00ecf