(svn r5613) Rename VS_DISASTER to VS_SHADOW, because this is what this flag actually means

This commit is contained in:
tron
2006-07-26 08:32:20 +00:00
parent 3aa408ee02
commit 16bf3e35cd
4 changed files with 9 additions and 9 deletions

View File

@@ -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);