Decompile fn_07464 (CSoulCollectEffect::Slot04)
Batch #13028 by cremane: 1 byte-identical, 0 confirmed by peer review. - fn_07464 CSoulCollectEffect::Slot04: byte-identical Merged automatically: every function is byte-identical to the original.
This commit is contained in:
parent
2982bf31ee
commit
e678b8207f
1 changed files with 5 additions and 5 deletions
|
|
@ -162,11 +162,11 @@ void CSoulCollectEffect::Slot04() {
|
|||
for (auto it = this->particles.begin(); it != this->particles.end(); ++it) {
|
||||
CParticle* particle = *it;
|
||||
if (particle && particle->alpha > 0) {
|
||||
CTexture* texture = particle->texture;
|
||||
const float left = g_textureOffsetX / texture->TextureWidth();
|
||||
const float right = (texture->Width() + g_textureOffsetX) / texture->TextureWidth();
|
||||
const float top = g_textureOffsetY / texture->TextureHeight();
|
||||
const float bottom = (texture->Height() + g_textureOffsetY) / particle->texture->TextureHeight();
|
||||
const float left = g_textureOffsetX / particle->texture->TextureWidth();
|
||||
const float right = (particle->texture->Width() + g_textureOffsetX) / particle->texture->TextureWidth();
|
||||
const float top = g_textureOffsetY / particle->texture->TextureHeight();
|
||||
const float bottom = (particle->texture->Height() + g_textureOffsetY) / particle->texture->TextureHeight();
|
||||
|
||||
particle->Render(false, top, bottom, left, right, false, true);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue