vehicle.c
changeset 1922 797081e56d13
parent 1917 74cab7e464d1
child 1926 68d60188a22f
--- a/vehicle.c	Mon Jun 06 21:32:04 2005 +0000
+++ b/vehicle.c	Mon Jun 06 22:44:11 2005 +0000
@@ -528,7 +528,7 @@
 	if (v->vehstatus & VS_DISASTER) {
 		image |= 0x3224000;
 	} else if (v->vehstatus & VS_DEFPAL) {
-		image |= (v->vehstatus & VS_CRASHED) ? 0x3248000 : SPRITE_PALETTE(PLAYER_SPRITE_COLOR(v->owner));
+		image |= (v->vehstatus & VS_CRASHED) ? PALETTE_CRASH : SPRITE_PALETTE(PLAYER_SPRITE_COLOR(v->owner));
 	}
 
 	AddSortableSpriteToDraw(image, v->x_pos + v->x_offs, v->y_pos + v->y_offs,