Road stops: Add height property for build window preview

This commit is contained in:
Jonathan G Rennison
2023-02-05 17:40:14 +00:00
parent 91d736ace5
commit 1272bec13b
6 changed files with 34 additions and 8 deletions

View File

@@ -5175,6 +5175,13 @@ static ChangeInfoResult RoadStopChangeInfo(uint id, int numinfo, int prop, const
rs->clear_cost_multiplier = buf->ReadByte();
break;
case A0RPI_ROADSTOP_HEIGHT:
if (MappedPropertyLengthMismatch(buf, 1, mapping_entry)) break;
FALLTHROUGH;
case 0x16: // Height
rs->height = buf->ReadByte();
break;
default:
ret = HandleAction0PropertyDefault(buf, prop);
break;