summaryrefslogtreecommitdiff
path: root/disaster_cmd.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-07-26 08:32:20 +0000
committertron <tron@openttd.org>2006-07-26 08:32:20 +0000
commit677ecc624c7f68c0b0025ca42468d15621ce4a7f (patch)
tree79aea47c4debb842ca36742c98a698c4a930d935 /disaster_cmd.c
parent9b0875a9e52f7e1224b7824a7ec4e4883b628df2 (diff)
downloadopenttd-677ecc624c7f68c0b0025ca42468d15621ce4a7f.tar.xz
(svn r5613) Rename VS_DISASTER to VS_SHADOW, because this is what this flag actually means
Diffstat (limited to 'disaster_cmd.c')
-rw-r--r--disaster_cmd.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/disaster_cmd.c b/disaster_cmd.c
index 2b1488bb9..27ca9e29d 100644
--- a/disaster_cmd.c
+++ b/disaster_cmd.c
@@ -570,7 +570,7 @@ static void DisasterTick_4(Vehicle *v)
u->next = w;
InitializeDisasterVehicle(w, -6 * TILE_SIZE, v->y_pos, 0, DIR_SW, 12);
- w->vehstatus |= VS_DISASTER;
+ w->vehstatus |= VS_SHADOW;
} else if (v->current_order.station < 1) {
int x = TileX(v->dest_tile) * TILE_SIZE;
@@ -736,7 +736,7 @@ static void Disaster0_Init(void)
if (u != NULL) {
v->next = u;
InitializeDisasterVehicle(u, x, 0, 0, DIR_SE, 1);
- u->vehstatus |= VS_DISASTER;
+ u->vehstatus |= VS_SHADOW;
}
}
@@ -758,7 +758,7 @@ static void Disaster1_Init(void)
if (u != NULL) {
v->next = u;
InitializeDisasterVehicle(u, x, 0, 0, DIR_SE, 3);
- u->vehstatus |= VS_DISASTER;
+ u->vehstatus |= VS_SHADOW;
}
}
@@ -792,7 +792,7 @@ static void Disaster2_Init(void)
if (u != NULL) {
v->next = u;
InitializeDisasterVehicle(u, x, y, 0, DIR_SE, 5);
- u->vehstatus |= VS_DISASTER;
+ u->vehstatus |= VS_SHADOW;
}
}
@@ -826,7 +826,7 @@ static void Disaster3_Init(void)
if (u != NULL) {
v->next = u;
InitializeDisasterVehicle(u, x, y, 0, DIR_SW, 7);
- u->vehstatus |= VS_DISASTER;
+ u->vehstatus |= VS_SHADOW;
w = ForceAllocateSpecialVehicle();
if (w != NULL) {
@@ -855,7 +855,7 @@ static void Disaster4_Init(void)
if (u != NULL) {
v->next = u;
InitializeDisasterVehicle(u, x, y, 0, DIR_NW, 10);
- u->vehstatus |= VS_DISASTER;
+ u->vehstatus |= VS_SHADOW;
}
}