diff --git a/src/roadveh_cmd.cpp b/src/roadveh_cmd.cpp --- a/src/roadveh_cmd.cpp +++ b/src/roadveh_cmd.cpp @@ -205,7 +205,7 @@ int32 CmdBuildRoadVeh(TileIndex tile, ui v->date_of_last_service = _date; v->build_year = _cur_year; - v->type = VEH_ROAD; + v = new (v) RoadVehicle(); v->cur_image = 0xC15; v->random_bits = VehicleRandomBits();