Decompile 2 functions in Source/Resource/Models/ModelResourceV2.cpp
Batch #14022 by eAthena: 0 byte-identical, 2 confirmed by peer review. - fn_08020 C3dModelResV2::ReadVersion1: logic confirmed by peer review - fn_08021 C3dModelResV2::ReadVersion2: logic confirmed by peer review Peer-reviewed-by: Yommy, aDw, codeplay 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
11a7c56e38
commit
60829bdc23
1 changed files with 4 additions and 4 deletions
|
|
@ -106,7 +106,7 @@ void C3dModelResV2::ReadVersion1(CFile& input) {
|
|||
input.Read(&bytes, 4);
|
||||
char name[40]{};
|
||||
input.Read(name, bytes);
|
||||
textureNames.emplace_back(name);
|
||||
textureNames.push_back(name);
|
||||
}
|
||||
|
||||
int rootCount = 0;
|
||||
|
|
@ -117,7 +117,7 @@ void C3dModelResV2::ReadVersion1(CFile& input) {
|
|||
input.Read(&bytes, 4);
|
||||
char name[40]{};
|
||||
input.Read(name, bytes);
|
||||
this->rootNames.emplace_back(name);
|
||||
this->rootNames.push_back(name);
|
||||
}
|
||||
|
||||
int nodeCount = 0;
|
||||
|
|
@ -235,7 +235,7 @@ void C3dModelResV2::ReadVersion2(CFile& input) {
|
|||
input.Read(&bytes, 4);
|
||||
char name[40]{};
|
||||
input.Read(name, bytes);
|
||||
textureNames.emplace_back(name);
|
||||
textureNames.push_back(name);
|
||||
}
|
||||
|
||||
int rootCount = 0;
|
||||
|
|
@ -246,7 +246,7 @@ void C3dModelResV2::ReadVersion2(CFile& input) {
|
|||
input.Read(&bytes, 4);
|
||||
char name[40]{};
|
||||
input.Read(name, bytes);
|
||||
this->rootNames.emplace_back(name);
|
||||
this->rootNames.push_back(name);
|
||||
}
|
||||
|
||||
int nodeCount = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue