mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-12 19:04:48 +00:00
fixing some uninitialized stuff
This commit is contained in:
parent
408f47fc9d
commit
3f26250d73
8 changed files with 31 additions and 2 deletions
|
@ -11763,7 +11763,11 @@ void CTheScripts::UpdateObjectIndices()
|
|||
if (!pModel)
|
||||
continue;
|
||||
strcpy(name, pModel->GetName());
|
||||
#ifdef FIX_BUGS
|
||||
for (int k = 0; k < USED_OBJECT_NAME_LENGTH && name[k]; k++)
|
||||
#else
|
||||
for (int k = 0; k < USED_OBJECT_NAME_LENGTH; k++)
|
||||
#endif
|
||||
name[k] = toupper(name[k]);
|
||||
if (strcmp(name, UsedObjectArray[i].name) == 0) {
|
||||
found = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue