From 5d37f2b89fdd116f682e6dcf98f9add1f311bc4b Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Thu, 12 Nov 2026 10:49:59 +0000 Subject: [PATCH] Decompile fn_21073 (CreateHallucinationPc) Batch #18054 by eAthena: 0 byte-identical, 1 confirmed by peer review. - fn_21073 CreateHallucinationPc: 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/Actors/GameActor.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/Contents/Actors/GameActor.cpp b/Source/Contents/Actors/GameActor.cpp index b7ccde276..31aee73df 100644 --- a/Source/Contents/Actors/GameActor.cpp +++ b/Source/Contents/Actors/GameActor.cpp @@ -1189,7 +1189,9 @@ void __stdcall CreateHallucinationPc( pc->SetBodyCostume(bodyPalette, 0); CHalluPC* hallu = new CHalluPC(pc); - hallu->render.position = *position; + hallu->render.position.x = position->x; + hallu->render.position.y = position->y; + hallu->render.position.z = position->z; unsigned char* const argb = reinterpret_cast(&hallu->render.color); if (alpha != -1) { argb[3] = static_cast(alpha);