epfly6 / RepentanceAPIIssueTracker

An unofficial issue tracker for issues with The Binding of Isaac: Repentance's API.
19 stars 1 forks source link

GetGridPath is not reliable when using GridPath of 3999 #500

Open guwahavel opened 2 years ago

guwahavel commented 2 years ago

Inconsistent scenario as follows

1) Entity A sets GridPath to 3999 every update 2) Entity B checks for GridPath while moving around the room

Entity B, when it checks the GridPath of Entity A's index, will not consistently return 3999. I believe this might be as simple of an issue as top-left to bottom-right load order, but it makes using GridPath to determine movement unreliable when on any given frame it could be 900 or 3999 despite Entity A setting it every update (setting it in PRE_UPDATE or POST_RENDER didn't fix the issue either).