Skip to content

Fix typos, missing Render Target resets, and nil boundary checks in gps - #744

Open
iManGaaX wants to merge 3 commits into
multitheftauto:masterfrom
iManGaaX:patch-6
Open

Fix typos, missing Render Target resets, and nil boundary checks in gps#744
iManGaaX wants to merge 3 commits into
multitheftauto:masterfrom
iManGaaX:patch-6

Conversation

@iManGaaX

@iManGaaX iManGaaX commented Sep 2, 2026

Copy link
Copy Markdown
  • Corrected poxY to posY parameter validation inside addLinePoint (linedrawer.lua).
  • Added dxSetRenderTarget() reset after drawing radar overlay lines to prevent render context lock (linedrawer.lua).
  • Added safeguards for db[areaID] checks when looking up vehicle nodes in gps.lua for coordinates near map boundaries.
  • Corrected CRs reference removals upon coroutine dead state inside util.lua.

Refactor coroutine handling and debug output.
Added checks for nil values in getNodeByID and calculatePath functions. Enhanced pathfinding functions to handle edge cases.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant