summaryrefslogtreecommitdiff
path: root/drivers/unix/os_unix.h
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2022-08-24 19:26:10 +0200
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2022-08-24 19:46:55 +0200
commit75de626781f9794527ed59d4b0906f0c0793404d (patch)
tree44ff7ceb360125de0590a29fba8f186599f2dd02 /drivers/unix/os_unix.h
parent8a1e5980116355024cd7a7ce0c15db7d4ecb200a (diff)
[MP] Fix variant serialization after variant size change.
The bit mask used for the type when compressing variants in the Multiplayer API became too small to represent all variant types. This commit expand the mask, which means we no longer have an extra bit in the "meta" byte we use to store encoding information. The extra bit was only used in case of booleans to store the value and since booleans do not require extra encoding information we use those 2 bits to store the value instead.
Diffstat (limited to 'drivers/unix/os_unix.h')
0 files changed, 0 insertions, 0 deletions