(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
authorpeter1138
Tue, 17 Apr 2007 17:54:31 +0000
changeset 6975 bd5a5745fd45
parent 6974 24490c839582
child 6976 0bc7efb388a7
(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
--- a/src/newgrf.cpp	Tue Apr 17 10:08:17 2007 +0000
+++ b/src/newgrf.cpp	Tue Apr 17 17:54:31 2007 +0000
@@ -4402,9 +4402,6 @@
 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;