summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2008-02-04 16:48:00 +0000
committerglx <glx@openttd.org>2008-02-04 16:48:00 +0000
commitb35611dae30ae37b48a8efb01245e1b1277bae2a (patch)
tree2175ac42d1e9b9b62d984b2f55c1d232dd043e42
parent5e7c8012ec9880b74d2b44b0926758d0a8ad942f (diff)
downloadopenttd-b35611dae30ae37b48a8efb01245e1b1277bae2a.tar.xz
(svn r12059) -Fix (r12041): industries prop 24 is a word
-rw-r--r--src/newgrf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf.cpp b/src/newgrf.cpp
index 454aa3f44..8563f7db4 100644
--- a/src/newgrf.cpp
+++ b/src/newgrf.cpp
@@ -2117,7 +2117,7 @@ static bool IndustriesChangeInfo(uint indid, int numinfo, int prop, byte **bufp,
break;
case 0x24: // name for nearby station
- indsp->station_name = GRFMappedStringID(grf_load_dword(&buf), _cur_grffile->grfid);
+ indsp->station_name = GRFMappedStringID(grf_load_word(&buf), _cur_grffile->grfid);
break;
default: