- optimized the FName versions of IsDescendantOf and IsKindOf. These can be done without first looking up the class type itself.
This commit is contained in:
parent
31223ca180
commit
a6785afddb
28 changed files with 126 additions and 97 deletions
|
|
@ -77,7 +77,7 @@ void gl_ParseVavoomSkybox();
|
|||
inline PClassActor * GetRealType(PClassActor * ti)
|
||||
{
|
||||
PClassActor *rep = ti->GetReplacement(false);
|
||||
if (rep != ti && rep != NULL && rep->IsDescendantOf(PClass::FindActor(NAME_DehackedPickup)))
|
||||
if (rep != ti && rep != NULL && rep->IsDescendantOf(NAME_DehackedPickup))
|
||||
{
|
||||
return rep;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue