From 31bcca0e1873ff1ebee562cbfbc8a6236509516c Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Thu, 12 Nov 2026 10:48:32 +0000 Subject: [PATCH] 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). --- Source/Contents/Effects/Skills/ArrowEffect.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Source/Contents/Effects/Skills/ArrowEffect.cpp b/Source/Contents/Effects/Skills/ArrowEffect.cpp index c99befe50..56eed2039 100644 --- a/Source/Contents/Effects/Skills/ArrowEffect.cpp +++ b/Source/Contents/Effects/Skills/ArrowEffect.cpp @@ -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(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(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(d); this->targetPos.y -= 10.0f; this->render.visible = 0;