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).
This commit is contained in:
parent
38be848960
commit
5d37f2b89f
1 changed files with 3 additions and 1 deletions
|
|
@ -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<unsigned char*>(&hallu->render.color);
|
||||
if (alpha != -1) {
|
||||
argb[3] = static_cast<unsigned char>(alpha);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue