Decompile fn_19221 (CStormKickEffect::Close)
Batch #12293 by cremane: 1 byte-identical, 0 confirmed by peer review. - fn_19221 CStormKickEffect::Close: byte-identical Merged automatically: every function is byte-identical to the original.
This commit is contained in:
parent
e2f6489843
commit
c09e094b80
1 changed files with 4 additions and 4 deletions
|
|
@ -170,13 +170,13 @@ void CStormKickEffect::UpdateStorm(CParticle* particle) {
|
|||
// OFFSET: 0x00B7BC20
|
||||
// FUNCTION: fn_19221
|
||||
void CStormKickEffect::Close() {
|
||||
for (CParticle* particle : this->storms) {
|
||||
FreeParticle(particle);
|
||||
for (auto it = this->storms.begin(); it != this->storms.end(); ++it) {
|
||||
FreeParticle(*it);
|
||||
}
|
||||
this->storms.clear();
|
||||
|
||||
for (CParticle* particle : this->clouds) {
|
||||
FreeParticle(particle);
|
||||
for (auto it = this->clouds.begin(); it != this->clouds.end(); ++it) {
|
||||
FreeParticle(*it);
|
||||
}
|
||||
this->clouds.clear();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue