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

In other words, one can now specifies a 16 bits cost multiplier.
pull/155/head
belugas 16 years ago
parent 521e8e858b
commit 40b27b50c1

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

Loading…
Cancel
Save