diff options
author | tron <tron@openttd.org> | 2006-07-26 08:32:20 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2006-07-26 08:32:20 +0000 |
commit | 677ecc624c7f68c0b0025ca42468d15621ce4a7f (patch) | |
tree | 79aea47c4debb842ca36742c98a698c4a930d935 /vehicle.c | |
parent | 9b0875a9e52f7e1224b7824a7ec4e4883b628df2 (diff) | |
download | openttd-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |