Decompile 2 functions in Source/Contents/Effects/CellRangeEffect.cpp
Batch #12274 by cremane: 2 byte-identical, 0 confirmed by peer review. - fn_18877 CCellRangeEffect::Close: byte-identical - fn_18881 CCellRangeEffect::Slot04: byte-identical Merged automatically: every function is byte-identical to the original.
This commit is contained in:
parent
f983d332f2
commit
cf8c4bfe01
1 changed files with 4 additions and 3 deletions
|
|
@ -59,8 +59,8 @@ void CCellRangeEffect::SetCellTexture(CParticle* particle) {
|
|||
// OFFSET: 0x00B433E0
|
||||
// FUNCTION: fn_18877
|
||||
void CCellRangeEffect::Close() {
|
||||
for (CParticle* particle : this->particles) {
|
||||
FreeParticle(particle);
|
||||
for (auto it = this->particles.begin(); it != this->particles.end(); ++it) {
|
||||
FreeParticle(*it);
|
||||
}
|
||||
|
||||
this->particles.clear();
|
||||
|
|
@ -132,7 +132,8 @@ void CCellRangeEffect::Slot03() {
|
|||
// OFFSET: 0x00B43920
|
||||
// FUNCTION: fn_18881
|
||||
void CCellRangeEffect::Slot04() {
|
||||
for (CParticle* particle : this->particles) {
|
||||
for (auto it = this->particles.begin(); it != this->particles.end(); ++it) {
|
||||
CParticle* particle = *it;
|
||||
if (particle) {
|
||||
this->SetCellTexture(particle);
|
||||
particle->Render(false, 0.0f, 1.0f, 0.0f, 1.0f, false, true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue