- had to fix a few things.

This commit is contained in:
Christoph Oelckers 2019-02-02 17:29:13 +01:00
commit 9f7fe203fc
7 changed files with 39 additions and 22 deletions

View file

@ -46,7 +46,7 @@
inline PClassActor * GetRealType(PClassActor * ti)
{
PClassActor *rep = ti->GetReplacement(false);
PClassActor *rep = ti->GetReplacement(nullptr, false);
if (rep != ti && rep != NULL && rep->IsDescendantOf(NAME_DehackedPickup))
{
return rep;