From 2b2cfaeec10cd53c0ceba8116cd8b1e14cdd523d Mon Sep 17 00:00:00 2001 From: peter1138 Date: Tue, 17 Apr 2007 17:54:31 +0000 Subject: (svn r9655) -Revert (r9094 partial): *Do* calculate refit masks for unavailable vehicle types... things like articulated engines can still build these parts... ... ... dot dot dot --- src/newgrf.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src') diff --git a/src/newgrf.cpp b/src/newgrf.cpp index 6b744be54..c7edcdade 100644 --- a/src/newgrf.cpp +++ b/src/newgrf.cpp @@ -4402,9 +4402,6 @@ static const CargoLabel *_default_refitmasks[] = { static void CalculateRefitMasks() { for (EngineID engine = 0; engine < TOTAL_NUM_ENGINES; engine++) { - /* Skip engine if not available in this climate */ - if (!HASBIT(_engine_info[engine].climates, _opt.landscape)) continue; - uint32 mask = 0; uint32 not_mask = 0; uint32 xor_mask = 0; -- cgit v1.2.3-54-g00ecf