Decompile fn_18876 (CCellRangeEffect::SetCellTexture)
Batch #16369 by youko: 0 byte-identical, 1 confirmed by peer review. - fn_18876 CCellRangeEffect::SetCellTexture: logic confirmed by peer review Peer-reviewed-by: eAthena, Yommy, Toshiro 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
8f5bbb1bf8
commit
10ce4d9b59
1 changed files with 5 additions and 5 deletions
|
|
@ -29,19 +29,19 @@ void CCellRangeEffect::SetCellTexture(CParticle* particle) {
|
|||
}
|
||||
|
||||
const int frame = (particle->elapsedFrames + particle->columnIndex) / 10 % 3 + 1;
|
||||
std::string name;
|
||||
std::string name("");
|
||||
switch (this->id) {
|
||||
case EF_KO_ZENKAI_WATER:
|
||||
name = FormatOwnedString("effect\\water-%d.bmp", frame);
|
||||
name = static_cast<const std::string&>(FormatOwnedString("effect\\water-%d.bmp", frame));
|
||||
break;
|
||||
case EF_KO_ZENKAI_LAND:
|
||||
name = FormatOwnedString("effect\\stone-%d.bmp", frame);
|
||||
name = static_cast<const std::string&>(FormatOwnedString("effect\\stone-%d.bmp", frame));
|
||||
break;
|
||||
case EF_KO_ZENKAI_FIRE:
|
||||
name = FormatOwnedString("effect\\fire-%d.bmp", frame);
|
||||
name = static_cast<const std::string&>(FormatOwnedString("effect\\fire-%d.bmp", frame));
|
||||
break;
|
||||
case EF_KO_ZENKAI_WIND:
|
||||
name = FormatOwnedString("effect\\lightning-%d.bmp", frame);
|
||||
name = static_cast<const std::string&>(FormatOwnedString("effect\\lightning-%d.bmp", frame));
|
||||
break;
|
||||
case EF_KO_MAKIBISHI:
|
||||
name = "effect\\makibishi.bmp";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue