Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FCNPC_OnWeaponShot reports wrong hittype #253

Open
SimonOre opened this issue Aug 6, 2021 · 0 comments
Open

FCNPC_OnWeaponShot reports wrong hittype #253

SimonOre opened this issue Aug 6, 2021 · 0 comments

Comments

@SimonOre
Copy link

SimonOre commented Aug 6, 2021

Even if the player is behind an object (SA map) the callback FCNPC_OnWeaponShot reports the hittype as BULLET_HIT_TYPE_PLAYER.

printf("[DEBUG]NPC using: %d", hittype);
Prints 1 when the NPCs hit objects (SA map)

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

No branches or pull requests

1 participant