(svn r14172) -Feature[newGRF]: Add support for property 0x13 for Bridges.
authorbelugas
Mon, 25 Aug 2008 17:16:27 +0000
changeset 10013 cf6837425ca9
parent 10012 c773e1c2c03b
child 10014 13c9ede0ae49
(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
--- a/src/newgrf.cpp	Mon Aug 25 16:41:00 2008 +0000
+++ b/src/newgrf.cpp	Mon Aug 25 17:16:27 2008 +0000
@@ -1356,6 +1356,10 @@
 				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;