summaryrefslogtreecommitdiff
path: root/vehicle.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 /vehicle.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 'vehicle.c')
-rw-r--r--vehicle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vehicle.c b/vehicle.c
index 69fbb0e82..4fa55907c 100644
--- a/vehicle.c
+++ b/vehicle.c
@@ -723,7 +723,7 @@ static void DoDrawVehicle(const Vehicle *v)
{
uint32 image = v->cur_image;
- if (v->vehstatus & VS_DISASTER) {
+ if (v->vehstatus & VS_SHADOW) {
MAKE_TRANSPARENT(image);
} else if (v->vehstatus & VS_DEFPAL) {
image |= (v->vehstatus & VS_CRASHED) ? PALETTE_CRASH : GetVehiclePalette(v);