Skip to content

Commit

Permalink
Fix inheritance for bNoSaveGame
Browse files Browse the repository at this point in the history
  • Loading branch information
RicardoLuis0 authored and coelckers committed Oct 5, 2023
1 parent ab8711b commit 3e7de9a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/gamedata/info.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -487,6 +487,8 @@ void PClassActor::InitializeDefaults()
{
memset(Defaults + ParentClass->Size, 0, Size - ParentClass->Size);
}

optr->ObjectFlags = ((DObject*)ParentClass->Defaults)->ObjectFlags & OF_Transient;
}
else
{
Expand Down

0 comments on commit 3e7de9a

Please sign in to comment.