Decompile fn_21073 (CreateHallucinationPc)

Batch #17871 by eAthena: 0 byte-identical, 1 confirmed by peer review.

- fn_21073 CreateHallucinationPc: logic confirmed by peer review

Peer-reviewed-by: Yommy, codeplay, 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 05:17:50 +00:00
commit 41bfab1cef
2 changed files with 8 additions and 2 deletions

View file

@ -1197,8 +1197,7 @@ void __stdcall CreateHallucinationPc(
*reinterpret_cast<std::uint16_t*>(argb + 1) = 0xFFFF;
argb[0] = 0xFF;
CRenderObject* object = hallu;
static_cast<CGameMode*>(g_modeMgr.GetGameMode())->scene->objects.push_back(object);
static_cast<CGameMode*>(g_modeMgr.GetGameMode())->scene->objects.push_back(hallu);
delete pc;
}

View file

@ -0,0 +1,7 @@
#pragma once
#include <list>
class CRenderObject;
extern template void std::list<CRenderObject*>::push_back(CRenderObject*&&);