isle-portable/LEGO1/lego
kernaltrap e3ccf198a5
Fix integer overflow in LegoAnimationManager::Tickle
This PR fixes a integer overflow in the `rand()` call inside of `LegoAnimationManager::Tickle`.
During animation sequences, like the one that plays when you first get in-game and the Infomaniac tells you about the Pizzeria, the `rand` function could return a massive value that would overflow the `int` type of `MxLong`.

Signed-off-by: kernaltrap <kernaltrap@gmail.com>
2025-05-28 22:23:01 -05:00
..
legoomni Fix integer overflow in LegoAnimationManager::Tickle 2025-05-28 22:23:01 -05:00
sources Merge remote-tracking branch 'isle/master' into mergeii 2025-05-26 09:49:34 -07:00