(svn r25878) -Feature: [NewGRF] Object property 0x18 to allow specifying the number of objects of that type being placed upon map creation

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
planetmaker 11 years ago
parent c29ec8edee
commit ed54d39201

@ -3882,6 +3882,10 @@ static ChangeInfoResult ObjectChangeInfo(uint id, int numinfo, int prop, ByteRea
}
break;
case 0x18: // Amount placed on 256^2 map on map creation
spec->generate_amount = buf->ReadByte();
break;
default:
ret = CIR_UNKNOWN;
break;

Loading…
Cancel
Save