summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2007-04-17 17:54:31 +0000
committerpeter1138 <peter1138@openttd.org>2007-04-17 17:54:31 +0000
commit2b2cfaeec10cd53c0ceba8116cd8b1e14cdd523d (patch)
tree05a2f62596b6b0b862d352e6c68156def4aec92c /src
parent2a32b3b8db3c9248836625bc8517b8076ccededa (diff)
downloadopenttd-2b2cfaeec10cd53c0ceba8116cd8b1e14cdd523d.tar.xz
(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
Diffstat (limited to 'src')
-rw-r--r--src/newgrf.cpp3
1 files changed, 0 insertions, 3 deletions
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;