From 3a84801f5563ca73c47c56f9682582abe990abb7 Mon Sep 17 00:00:00 2001 From: glx Date: Sat, 10 Nov 2007 00:42:25 +0000 Subject: (svn r11398) -Fix [FS#1414]: industry variables 67 and 68 return was incorrect --- src/newgrf_industries.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/newgrf_industries.cpp') diff --git a/src/newgrf_industries.cpp b/src/newgrf_industries.cpp index 3fda15112..9181cc643 100644 --- a/src/newgrf_industries.cpp +++ b/src/newgrf_industries.cpp @@ -157,6 +157,7 @@ static uint32 GetCountAndDistanceOfClosestInstance(byte param_setID, byte layout /* 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; } -- cgit v1.2.3-54-g00ecf