Fix FSX-48 packets from points
This commit is contained in:
parent
4bbb82690c
commit
bf5d5bcd74
@ -55,6 +55,10 @@ final class FSC48 extends Packet
|
|||||||
case 'capability':
|
case 'capability':
|
||||||
return sprintf('%016b',Arr::get($this->header,'capword'));
|
return sprintf('%016b',Arr::get($this->header,'capword'));
|
||||||
|
|
||||||
|
case 'fn':
|
||||||
|
// If the packet is from a point, then onet will be 0xffff
|
||||||
|
return ($x=Arr::get($this->header,'onet')) === 0xffff ? Arr::get($this->header,'auxnet') : $x;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
return parent::__get($key);
|
return parent::__get($key);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user