summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2008-08-25 17:16:27 +0000
committerbelugas <belugas@openttd.org>2008-08-25 17:16:27 +0000
commit23a9938317cc66def8fe88b55953757bbee45a9b (patch)
treea3d537ce6165d3062a436e437db4f15c4d68a327 /src
parentbc7a87613f6d316ed276006e08ecf9e59cdd1558 (diff)
downloadopenttd-23a9938317cc66def8fe88b55953757bbee45a9b.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.
Diffstat (limited to 'src')
-rw-r--r--src/newgrf.cpp4
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;