mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-17 21:25:40 +00:00
(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:
parent
bc7a87613f
commit
23a9938317
@ -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;
|
if (newone != STR_UNDEFINED) bridge->transport_name[prop - 0x11] = newone;
|
||||||
} break;
|
} break;
|
||||||
|
|
||||||
|
case 0x13: // 16 bits cost multiplier
|
||||||
|
bridge->price = grf_load_word(&buf);
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
ret = true;
|
ret = true;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user