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 | dfb91c26ec2504bba971e5f9dfe827ebe751567d (patch) | |
tree | 6f71f95cb20d1693e9d00ae92731d8f772f8f6ac /src/vehicle_func.h | |
parent | 04da1e1d456322d07e941ca19d35e9dc1020faf1 (diff) | |
download | openttd-dfb91c26ec2504bba971e5f9dfe827ebe751567d.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[]; |