mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-03-13 22:42:07 +00:00
Fix inheritance for bNoSaveGame
This commit is contained in:
parent
ab8711b57a
commit
3e7de9aafa
1 changed files with 2 additions and 0 deletions
|
@ -487,6 +487,8 @@ void PClassActor::InitializeDefaults()
|
|||
{
|
||||
memset(Defaults + ParentClass->Size, 0, Size - ParentClass->Size);
|
||||
}
|
||||
|
||||
optr->ObjectFlags = ((DObject*)ParentClass->Defaults)->ObjectFlags & OF_Transient;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue