Decompile fn_07495 (CSunStanceEffect::Open)
Batch #16015 by Yommy: 0 byte-identical, 1 confirmed by peer review. - fn_07495 CSunStanceEffect::Open: logic confirmed by peer review Peer-reviewed-by: alisonrag, youko 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
0a00e70080
commit
bd96b60b30
1 changed files with 6 additions and 8 deletions
|
|
@ -37,29 +37,27 @@ void CSunStanceEffect::Open() {
|
|||
continue;
|
||||
}
|
||||
|
||||
const char* texture;
|
||||
switch (this->id) {
|
||||
case 1214:
|
||||
default:
|
||||
texture = "effect\\sun_stance\\sun_stance.tga";
|
||||
particle->SetTexture("effect\\sun_stance\\sun_stance.tga");
|
||||
break;
|
||||
case 1215:
|
||||
texture = "effect\\sun_stance\\lunar_stance.tga";
|
||||
particle->SetTexture("effect\\sun_stance\\lunar_stance.tga");
|
||||
break;
|
||||
case 1216:
|
||||
texture = "effect\\sun_stance\\star_stance.tga";
|
||||
particle->SetTexture("effect\\sun_stance\\star_stance.tga");
|
||||
break;
|
||||
case 1217:
|
||||
if (index == 0) {
|
||||
texture = "effect\\sun_stance\\sun_stance.tga";
|
||||
particle->SetTexture("effect\\sun_stance\\sun_stance.tga");
|
||||
} else if (index == 1) {
|
||||
texture = "effect\\sun_stance\\lunar_stance.tga";
|
||||
particle->SetTexture("effect\\sun_stance\\lunar_stance.tga");
|
||||
} else {
|
||||
texture = "effect\\sun_stance\\star_stance.tga";
|
||||
particle->SetTexture("effect\\sun_stance\\star_stance.tga");
|
||||
}
|
||||
break;
|
||||
}
|
||||
particle->SetTexture(texture);
|
||||
|
||||
particle->effectId = this->id;
|
||||
particle->columnIndex = 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue