Decompile fn_07958 (C3dAnimModelRes::Load)
Batch #14063 by Yommy: 0 byte-identical, 1 confirmed by peer review. - fn_07958 C3dAnimModelRes::Load: logic confirmed by peer review Peer-reviewed-by: secret, KWDev, 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
99269b3ea0
commit
3ee8568d9e
1 changed files with 1 additions and 1 deletions
|
|
@ -102,6 +102,7 @@ void C3dAnimModelRes::Unload() {
|
|||
// OFFSET: 0x00752390
|
||||
// FUNCTION: fn_07958
|
||||
bool C3dAnimModelRes::Load(const char* name) {
|
||||
std::string rootName;
|
||||
CFile file;
|
||||
|
||||
if (!file.Open(name, 0, true, false)) {
|
||||
|
|
@ -140,7 +141,6 @@ bool C3dAnimModelRes::Load(const char* name) {
|
|||
names[index] = std::string(field);
|
||||
}
|
||||
|
||||
std::string rootName;
|
||||
file.Read(field, sizeof(field));
|
||||
rootName = std::string(field);
|
||||
int nodeCount;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue