Decompile fn_24304 (CSkill::ShowModel)

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

- fn_24304 CSkill::ShowModel: logic confirmed by peer review

Peer-reviewed-by: ragnarok-clanker, Yommy, br4yan
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-11 12:58:23 +00:00
commit 37450d0588
2 changed files with 10 additions and 4 deletions

View file

@ -310,10 +310,7 @@ void CSkill::ShowModel(const char* modelName) {
this->m_model->CopyVolumes(resource->volumes);
this->m_model->SetSpeed(1.0f);
const vector3d position = this->render.position;
this->m_model->position[0] = position.x;
this->m_model->position[1] = position.y;
this->m_model->position[2] = position.z;
this->m_model->dirty = 1;
this->m_model->SetPosition(position);
this->m_model->Assign(*resource);
this->m_model->Animate(3.0);
this->m_model->occlusionEnabled = 0;