From 466193c5742761d5e45ca5b4e34e3cab8e62affc 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(+) 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-70-g09d2