diff options
author | belugas <belugas@openttd.org> | 2008-08-25 17:16:27 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2008-08-25 17:16:27 +0000 |
commit | 40b27b50c198b03a2933b39df376c34392a7e758 (patch) | |
tree | a3d537ce6165d3062a436e437db4f15c4d68a327 | |
parent | 521e8e858bbdc057b1633224039d5760876ca1bf (diff) | |
download | openttd-40b27b50c198b03a2933b39df376c34392a7e758.tar.xz |
(svn r14172) -Feature[newGRF]: Add support for property 0x13 for Bridges.
In other words, one can now specifies a 16 bits cost multiplier.
-rw-r--r-- | src/newgrf.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/newgrf.cpp b/src/newgrf.cpp index 1c129d21e..fafb1db17 100644 --- a/src/newgrf.cpp +++ b/src/newgrf.cpp @@ -1356,6 +1356,10 @@ static bool BridgeChangeInfo(uint brid, int numinfo, int prop, byte **bufp, int if (newone != STR_UNDEFINED) bridge->transport_name[prop - 0x11] = newone; } break; + case 0x13: // 16 bits cost multiplier + bridge->price = grf_load_word(&buf); + break; + default: ret = true; break; |