mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-15 13:50:34 +00:00
some debug changes
This commit is contained in:
parent
ad8a8913d9
commit
5ab2c85e97
3 changed files with 46 additions and 11 deletions
|
@ -126,8 +126,6 @@ GetModelFromName(const char *name)
|
|||
|
||||
for(i = 0; i < MODELINFOSIZE; i++){
|
||||
mi = CModelInfo::GetModelInfo(i);
|
||||
if (mi && strcmp("drink", mi->GetName()) == 0 && strcmp(name, "drink01") == 0)
|
||||
debug("TEST");
|
||||
if(mi && mi->GetRwObject() && RwObjectGetType(mi->GetRwObject()) == rpCLUMP &&
|
||||
strcmpIgnoringDigits(mi->GetName(), name))
|
||||
return mi;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue