changeset 7848:bc066d9cf7b0 draft

(svn r11398) -Fix [FS#1414]: industry variables 67 and 68 return was incorrect
author glx <glx@openttd.org>
date Sat, 10 Nov 2007 00:42:25 +0000
parents 066ed17e3036
children e6ee8bfd9045
files src/newgrf_industries.cpp
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/newgrf_industries.cpp
+++ b/src/newgrf_industries.cpp
@@ -157,6 +157,7 @@
 			/* Fall through */
 
 		default: //use the grfid specified in register 100h
+			SETBIT(param_setID, 7); // bit 7 means it is not an old type
 			ind_index = MapNewGRFIndustryType(param_setID, GrfID);
 			break;
 	}