mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-18 17:24:09 +00:00
Use original names
This commit is contained in:
parent
68e8c1ce04
commit
faa9e6441b
15 changed files with 45 additions and 45 deletions
|
@ -11,7 +11,7 @@ CTimeModelInfo::FindOtherTimeModel(void)
|
|||
char *p;
|
||||
int i;
|
||||
|
||||
strcpy(name, GetName());
|
||||
strcpy(name, GetModelName());
|
||||
// change _nt to _dy
|
||||
if(p = strstr(name, "_nt"))
|
||||
strncpy(p, "_dy", 4);
|
||||
|
@ -24,7 +24,7 @@ CTimeModelInfo::FindOtherTimeModel(void)
|
|||
for(i = 0; i < MODELINFOSIZE; i++){
|
||||
CBaseModelInfo *mi = CModelInfo::GetModelInfo(i);
|
||||
if (mi && mi->GetModelType() == MITYPE_TIME &&
|
||||
!CGeneral::faststrncmp(name, mi->GetName(), MAX_MODEL_NAME)){
|
||||
!CGeneral::faststrncmp(name, mi->GetModelName(), MAX_MODEL_NAME)){
|
||||
m_otherTimeModelID = i;
|
||||
return (CTimeModelInfo*)mi;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue