(svn r24854) -Fix (r24839): Only consider vehicles available in the climate for purchase/depot cell size.

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
frosch 12 years ago
parent 1ef4f7712d
commit 1e30884201

@ -169,6 +169,8 @@ static void InitBlocksizeForVehicles(VehicleType type, EngineImageType image_typ
const Engine *e;
FOR_ALL_ENGINES_OF_TYPE(e, type) {
if (!e->IsEnabled()) continue;
EngineID eid = e->index;
uint x, y;
int x_offs, y_offs;

Loading…
Cancel
Save