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

OnWeaponShot param order fail #141

Closed
douq opened this issue Apr 2, 2018 · 1 comment
Closed

OnWeaponShot param order fail #141

douq opened this issue Apr 2, 2018 · 1 comment

Comments

@douq
Copy link

douq commented Apr 2, 2018

There is a fail on OnWeaponShot(). The values from weaponid and hitid are transposed. F.e. a npc shoot with a colt on playerid 1. The values are weaponid: 1 and hitid: 22

@WoutProvost
Copy link
Contributor

Yep, that's true:

int send = CCallbackManager::OnWeaponShot(wPlayerId, bulletSyncData.wHitID, bulletSyncData.byteHitType, bulletSyncData.byteWeaponID, bulletSyncData.vecCenterOfHit);

@ziggi ziggi closed this as completed in da59b59 Apr 3, 2018
ziggi added a commit that referenced this issue Apr 3, 2018
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

2 participants