Decompile fn_19767 (CEffectPrim::Initialize)
Batch #14269 by eAthena: 0 byte-identical, 1 confirmed by peer review. - fn_19767 CEffectPrim::Initialize: logic confirmed by peer review Peer-reviewed-by: Yommy, secret, aDw 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
d63b4e6247
commit
31b735ca34
4 changed files with 18 additions and 16 deletions
|
|
@ -153,8 +153,11 @@ CEffectPrim* CreateEffectParticle(
|
|||
std::list<CRenderObject*>& worldObjects
|
||||
) {
|
||||
auto* particle = new CEffectPrim();
|
||||
if (!particle) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
particle->state.Initialize(particle->render, master, masterRender, type, x, y, z);
|
||||
particle->Initialize(master, type, x, y, z);
|
||||
master.state.primList.push_back(&particle->state);
|
||||
worldObjects.push_back(particle);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue