diff options
author | tron <tron@openttd.org> | 2006-03-12 17:42:04 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2006-03-12 17:42:04 +0000 |
commit | b05a98fdfa3db1171064aa59c401dcad1798b7ae (patch) | |
tree | 92107719a9ce6eb371c4b48b27ef13761bc42120 /ship_cmd.c | |
parent | 12d252d9bd7ffee83c4be5162cd506bda1070020 (diff) | |
download | openttd-b05a98fdfa3db1171064aa59c401dcad1798b7ae.tar.xz |
(svn r3832) Replace some magic numbers by (Diag)Direction enums
Diffstat (limited to 'ship_cmd.c')
-rw-r--r-- | ship_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ship_cmd.c b/ship_cmd.c index 607dc152c..f75b8eef8 100644 --- a/ship_cmd.c +++ b/ship_cmd.c @@ -33,7 +33,7 @@ void DrawShipEngine(int x, int y, EngineID engine, uint32 image_ormod) int spritenum = ShipVehInfo(engine)->image_index; if (is_custom_sprite(spritenum)) { - int sprite = GetCustomVehicleIcon(engine, 6); + int sprite = GetCustomVehicleIcon(engine, DIR_W); if (sprite != 0) { DrawSprite(sprite | image_ormod, x, y); |