Skip to content

Use the `offsetof` function

Monster Iestyn requested to merge using-offsetof into next

I discovered this function existed in the C standard library fairly recently. ...so I thought why not try it out where we ought to be using it?

This is based on next in case of any potential side effects that could affect netplay, given the only places I'm using the function atm are in netcode related areas of the source.

Merge request reports