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:
ragnarok-clanker 2026-11-12 10:48:32 +00:00
commit 31bcca0e18

View file

@ -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;