Decompile fn_17510 (C3dActor::CopyVolumes)
Batch #12528 by cremane: 0 byte-identical, 1 confirmed by peer review. - fn_17510 C3dActor::CopyVolumes: logic confirmed by peer review Peer-reviewed-by: Yommy, gordaoprogramas, dori 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
0cca901c29
commit
e5d4b3b94c
2 changed files with 5 additions and 3 deletions
|
|
@ -220,8 +220,10 @@ C3dNode* C3dActorV2::Find(const char* name) {
|
|||
// OFFSET: 0x00AB94D0
|
||||
// FUNCTION: fn_17510
|
||||
void C3dActor::CopyVolumes(const std::list<ModelVolume*>& source) {
|
||||
for (const ModelVolume* volume : source) {
|
||||
this->volumes.push_back(new ModelVolume(*volume));
|
||||
for (auto it = source.begin(); it != source.end(); ++it) {
|
||||
ModelVolume* volume = new ModelVolume;
|
||||
*volume = **it;
|
||||
this->volumes.push_back(volume);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue