Some call sites pass a uint8_t to objnum_remote_to_local, which is zero-extended up to an int. The check for owner==-1 then fails, causing the sanity check to trap to the debugger, even though the situation is normal and harmless. Switch the type to int8_t to ensure that the value is not sign/zero-extended. |
||
---|---|---|
.. | ||
2d | ||
3d | ||
arch | ||
editor | ||
main | ||
mem | ||
misc |