gta-reversed-modern
gta-reversed-modern copied to clipboard
GetIsLineOfSightClear: `origin` of `nan(ind)` values causes infinite loop
Expected and current behavior
For whatever reason origin
consists of nan(ind)
values, probably caused by some overflow.
Additional information
I've had this same issue once already, just can't remember if it came from the same caller (In this case that's CTaskComplexKillPedOnFootArmed::LineOfSightClearForAttack
@ 0x621724
)
I doubt it's a memory corruption issue of some kind.
Steps to reproduce
- Get chased by cops
- ???? - There's no consistent way to cause this sadly
- Profit