gta-reversed-modern icon indicating copy to clipboard operation
gta-reversed-modern copied to clipboard

GetIsLineOfSightClear: `origin` of `nan(ind)` values causes infinite loop

Open Pirulax opened this issue 1 year ago • 2 comments

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

  1. Get chased by cops
  2. ???? - There's no consistent way to cause this sadly
  3. Profit

Screenshots/Videos

image

Pirulax avatar Feb 18 '23 09:02 Pirulax