diff options
author | glx <glx@openttd.org> | 2007-11-10 00:42:25 +0000 |
---|---|---|
committer | glx <glx@openttd.org> | 2007-11-10 00:42:25 +0000 |
commit | 3a84801f5563ca73c47c56f9682582abe990abb7 (patch) | |
tree | ba3b84946602bef17816f90f7f4ee6b52bd88e1e | |
parent | e4aec527e0cdda2cda4fbc77a154eb13964f8451 (diff) | |
download | openttd-3a84801f5563ca73c47c56f9682582abe990abb7.tar.xz |
(svn r11398) -Fix [FS#1414]: industry variables 67 and 68 return was incorrect
-rw-r--r-- | src/newgrf_industries.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |