fix: clamp ItemCount within 32-bit integer range #1432
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "clamp-count"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
It seems the game uses 32-bit ints for these values on the C++ side before passing them on to Lua where they become floats. This would cause the game to have overflow/underflow semantics when receiving values outside of these bounds.