Decompile fn_18891 (CGlassWall::Close)
Batch #12286 by cremane: 1 byte-identical, 0 confirmed by peer review. - fn_18891 CGlassWall::Close: byte-identical Merged automatically: every function is byte-identical to the original.
This commit is contained in:
parent
2a26ed30fe
commit
0ecf12f444
1 changed files with 2 additions and 2 deletions
|
|
@ -40,8 +40,8 @@ void CGlassWall::AddPanel(float angle, float scale, float x, float y, float z) {
|
|||
// OFFSET: 0x00B44940
|
||||
// FUNCTION: fn_18891
|
||||
void CGlassWall::Close() {
|
||||
for (CParticle* particle : this->particles) {
|
||||
FreeParticle(particle);
|
||||
for (auto it = this->particles.begin(); it != this->particles.end(); ++it) {
|
||||
FreeParticle(*it);
|
||||
}
|
||||
|
||||
this->particles.clear();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue