diff --git a/src/dobjtype.cpp b/src/dobjtype.cpp index d7703de1c9..117180d750 100644 --- a/src/dobjtype.cpp +++ b/src/dobjtype.cpp @@ -754,7 +754,7 @@ PClass *PClass::FindClassTentative(FName name) Derive(type, name); type->Size = TentativeClass; - InsertIntoHash(); + type->InsertIntoHash(); return type; }