Sainan 2173bdb8b8
All checks were successful
Build / build (18) (push) Successful in 41s
Build / build (22) (push) Successful in 1m14s
Build Docker image / docker (push) Successful in 32s
Build / build (20) (push) Successful in 1m25s
fix: clamp ItemCount within 32-bit integer range (#1432)
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.

Reviewed-on: #1432
Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com>
Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
2025-04-02 13:20:06 -07:00
..
2025-03-29 15:20:54 -07:00