diff options
author | smatz <smatz@openttd.org> | 2008-01-18 13:02:47 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2008-01-18 13:02:47 +0000 |
commit | 1d59439166df456e7c886b599eaf3328aef4ad33 (patch) | |
tree | 6f71f95cb20d1693e9d00ae92731d8f772f8f6ac /src/vehicle_func.h | |
parent | 68707808c015db1cda0723882ffce99977d4593c (diff) | |
download | openttd-1d59439166df456e7c886b599eaf3328aef4ad33.tar.xz |
(svn r11916) -Codechange: use enums from VehicleViewWindowWidgets instead of constants
-Fix: refit button widget was not correctly updated
Diffstat (limited to 'src/vehicle_func.h')
-rw-r--r-- | src/vehicle_func.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/vehicle_func.h b/src/vehicle_func.h index 476c35782..874e8910d 100644 --- a/src/vehicle_func.h +++ b/src/vehicle_func.h @@ -133,10 +133,6 @@ SpriteID GetEnginePalette(EngineID engine_type, PlayerID player); */ SpriteID GetVehiclePalette(const Vehicle *v); -/* A lot of code calls for the invalidation of the status bar, which is widget 5. - * Best is to have a virtual value for it when it needs to change again */ -#define STATUS_BAR 5 - extern const uint32 _veh_build_proc_table[]; extern const uint32 _veh_sell_proc_table[]; extern const uint32 _veh_refit_proc_table[]; |