mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2024-11-22 21:40:05 +00:00
Fix player revive packet carrying wrong values
Oops
This commit is contained in:
parent
872425640d
commit
b0aea27418
@ -735,9 +735,9 @@ void PlayerManager::revivePlayer(CNSocket* sock, CNPacketData* data) {
|
||||
|
||||
// Response parameters
|
||||
response.PCRegenData.iActiveNanoSlotNum = activeSlot;
|
||||
response.PCRegenData.iX = plr->x;
|
||||
response.PCRegenData.iY = plr->y;
|
||||
response.PCRegenData.iZ = plr->z;
|
||||
response.PCRegenData.iX = move ? target.x : plr->x;
|
||||
response.PCRegenData.iY = move ? target.y : plr->y;
|
||||
response.PCRegenData.iZ = move ? target.z : plr->z;
|
||||
response.PCRegenData.iHP = plr->HP;
|
||||
response.iFusionMatter = plr->fusionmatter;
|
||||
response.bMoveLocation = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user