From 23a9938317cc66def8fe88b55953757bbee45a9b Mon Sep 17 00:00:00 2001 From: belugas Date: Mon, 25 Aug 2008 17:16:27 +0000 Subject: [PATCH] (svn r14172) -Feature[newGRF]: Add support for property 0x13 for Bridges. In other words, one can now specifies a 16 bits cost multiplier. --- src/newgrf.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/newgrf.cpp b/src/newgrf.cpp index 1c129d21e7..fafb1db171 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;