Decompile fn_08012 (C3dModelRes::FindNode)
Batch #12627 by cremane: 1 byte-identical, 0 confirmed by peer review. - fn_08012 C3dModelRes::FindNode: byte-identical Merged automatically: every function is byte-identical to the original.
This commit is contained in:
parent
3b53a28702
commit
702bd4e00e
1 changed files with 3 additions and 3 deletions
|
|
@ -103,9 +103,9 @@ C3dModelResV1* C3dModelResV1::Create() {
|
|||
// OFFSET: 0x007593C0
|
||||
// FUNCTION: fn_08012
|
||||
__declspec(noinline) ModelNode* C3dModelRes::FindNode(const char* name) const {
|
||||
for (ModelNode* node : this->nodes) {
|
||||
if (node->name.compare(name) == 0) {
|
||||
return node;
|
||||
for (std::list<ModelNode*>::const_iterator it = this->nodes.begin(); it != this->nodes.end(); ++it) {
|
||||
if ((*it)->name.compare(name) == 0) {
|
||||
return *it;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue