(svn r14172) -Feature[newGRF]: Add support for property 0x13 for Bridges.

In other words, one can now specifies a 16 bits cost multiplier.
This commit is contained in:
belugas 2008-08-25 17:16:27 +00:00
parent bc7a87613f
commit 23a9938317

View File

@ -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;