Mercurial > hg > openttd
changeset 8583:6843e1063801 draft
(svn r12164) -Fix (r12137, FS#1775]: Variable scope bug crept in
author | peter1138 <peter1138@openttd.org> |
---|---|
date | Sat, 16 Feb 2008 23:09:33 +0000 |
parents | 48e1d4898d72 |
children | c9982ce96837 |
files | src/build_vehicle_gui.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/build_vehicle_gui.cpp +++ b/src/build_vehicle_gui.cpp @@ -717,7 +717,7 @@ const RailVehicleInfo *rvi = RailVehInfo(engine_number); uint capacity = GetEngineProperty(engine_number, 0x14, rvi->capacity); - bool refitable = (EngInfo(engine_number)->refit_mask != 0) && (capacity > 0); + refitable = (EngInfo(engine_number)->refit_mask != 0) && (capacity > 0); if (rvi->railveh_type == RAILVEH_WAGON) { y = DrawRailWagonPurchaseInfo(x, y, engine_number, rvi);