Decompile fn_24295 (CArrowEffect::SendMsg)
Batch #18038 by eAthena: 0 byte-identical, 1 confirmed by peer review. - fn_24295 CArrowEffect::SendMsg: logic confirmed by peer review Peer-reviewed-by: ragnarok-clanker, Yommy, bibinir Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
parent
ef315dcbb6
commit
31bcca0e18
1 changed files with 6 additions and 2 deletions
|
|
@ -247,7 +247,9 @@ void CArrowEffect::SendMsg(CGameObject* sender, int message, int a, int b, int c
|
|||
this->speedScale = 1.0f;
|
||||
this->render.position = *reinterpret_cast<const vector3d*>(b);
|
||||
this->render.position.y -= 10.0f;
|
||||
this->startPos = this->render.position;
|
||||
this->startPos.x = this->render.position.x;
|
||||
this->startPos.y = this->render.position.y;
|
||||
this->startPos.z = this->render.position.z;
|
||||
this->targetAid = d;
|
||||
this->render.visible = 0;
|
||||
this->GetTargetPos(d, this->targetPos);
|
||||
|
|
@ -258,7 +260,9 @@ void CArrowEffect::SendMsg(CGameObject* sender, int message, int a, int b, int c
|
|||
this->speedScale = 1.0f;
|
||||
this->render.position = *reinterpret_cast<const vector3d*>(b);
|
||||
this->render.position.y -= 10.0f;
|
||||
this->startPos = this->render.position;
|
||||
this->startPos.x = this->render.position.x;
|
||||
this->startPos.y = this->render.position.y;
|
||||
this->startPos.z = this->render.position.z;
|
||||
this->targetPos = *reinterpret_cast<const vector3d*>(d);
|
||||
this->targetPos.y -= 10.0f;
|
||||
this->render.visible = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue