--- a/aircraft_gui.c Mon Jun 06 21:32:04 2005 +0000
+++ b/aircraft_gui.c Mon Jun 06 22:44:11 2005 +0000
@@ -1,6 +1,7 @@
#include "stdafx.h"
#include "openttd.h"
#include "debug.h"
+#include "table/sprites.h"
#include "table/strings.h"
#include "map.h"
#include "tile.h"
@@ -60,7 +61,8 @@
{
int image = GetAircraftImage(v, 6);
uint32 ormod = SPRITE_PALETTE(PLAYER_SPRITE_COLOR(v->owner));
- if (v->vehstatus & VS_CRASHED) ormod = 0x3248000;
+ if (v->vehstatus & VS_CRASHED)
+ ormod = PALETTE_CRASH;
DrawSprite(image | ormod, x+25, y+10);
if (v->subtype == 0)
DrawSprite(0xF3D, x+25, y+5);