summaryrefslogtreecommitdiff
path: root/src
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
commitb5055f73feb2d79e301198e7b27cb2f6d4f51b50 (patch)
tree2175ac42d1e9b9b62d984b2f55c1d232dd043e42 /src
parenta62beb101b4d9a74aaa8dcacdb2fb6bfed3f1a1f (diff)
downloadopenttd-b5055f73feb2d79e301198e7b27cb2f6d4f51b50.tar.xz
(svn r12059) -Fix (r12041): industries prop 24 is a word
Diffstat (limited to 'src')
-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: