changeset 10013:aaedbef31efc draft

(svn r14172) -Feature[newGRF]: Add support for property 0x13 for Bridges. In other words, one can now specifies a 16 bits cost multiplier.
author belugas <belugas@openttd.org>
date Mon, 25 Aug 2008 17:16:27 +0000 (2008-08-25)
parents 3ab1d6da5fea
children 4da54042dc72
files src/newgrf.cpp
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/newgrf.cpp
+++ b/src/newgrf.cpp
@@ -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;