Skip to content

Fix NPC_SetAngleToPos(): use {vec.x, vec.y} instead of {vec.x, vec.z} - #1252

Merged
AmyrAhmady merged 1 commit into
openmultiplayer:masterfrom
KW46:1251-fix-npc-setangletopos
Aug 9, 2026
Merged

AmyrAhmady merged 1 commit into
openmultiplayer:masterfrom
KW46:1251-fix-npc-setangletopos

Conversation

@KW46

@KW46 KW46 commented Aug 9, 2026

Copy link
Copy Markdown

Use vec.x, vec.y in getAngleOfLine in NPC_SetAngleToPos() instead of vec.x, vec.z
Fixes #1251

@AmyrAhmady
AmyrAhmady merged commit a2abf64 into openmultiplayer:master Aug 9, 2026
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.

NPC_SetAngleToPos() (and thus NPC_SetAngleToPlayer()) not working correctly

2 participants