isle-portable/LEGO1
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
..
lego Fix integer overflow in LegoAnimationManager::Tickle 2025-05-28 22:23:01 -05:00
modeldb Merge remote-tracking branch 'isle/master' into mergei 2025-05-18 14:04:10 -07:00
mxdirectx Merge remote-tracking branch 'isle/master' into mergeii 2025-05-26 09:49:34 -07:00
mxgeometry Get the game working on 64bit systems (#113) 2025-05-19 17:56:12 +02:00
mxstl Implement LegoPathController::FUN_10048310 (#1192) 2024-12-06 20:50:40 +01:00
omni Merge remote-tracking branch 'isle/master' into mergeii 2025-05-26 09:49:34 -07:00
realtime Merge remote-tracking branch 'isle/master' 2025-05-23 09:34:57 -07:00
res Support building isle with modern MSVC + msys2 (#421) 2024-01-10 23:34:32 +01:00
tgl Change to unsigned int 2025-05-26 09:52:18 -07:00
viewmanager Merge remote-tracking branch 'isle/master' into mergeii 2025-05-26 09:49:34 -07:00
define.cpp Implement/match LegoRaceActor (#1072) 2024-08-02 22:29:21 -07:00
define.h Implement/match LegoRaceActor (#1072) 2024-08-02 22:29:21 -07:00
lego1_export.h Use SDL3 functions in more locations (#44) 2024-12-24 18:04:46 -07:00
lego1_pch.h Fix PCH 2025-05-26 09:52:55 -07:00
library_msvc.h Fix inclusion guards of 3 files (#1509) 2025-05-20 02:15:30 +02:00
library_smack.h Fix inclusion guards of 3 files (#1509) 2025-05-20 02:15:30 +02:00
main.cpp Remove d3drm-wine (#75) 2025-05-13 19:18:20 +00:00