mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 07:12:02 +00:00
Fixed DECORATE scope for duplicates
This commit is contained in:
parent
bd889cc8f1
commit
91e83bf3c6
1 changed files with 2 additions and 1 deletions
|
@ -97,7 +97,8 @@ PClassActor *DecoDerivedClass(const FScriptPosition &sc, PClassActor *parent, FN
|
|||
sc.Message(MSG_FATAL, "Tried to define class '%s' more than twice in the same file.", typeName.GetChars());
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
if (type != nullptr)
|
||||
{
|
||||
// [ZZ] DECORATE classes are always play
|
||||
type->ObjectFlags = FScopeBarrier::ChangeSideInObjectFlags(type->ObjectFlags, FScopeBarrier::Side_Play);
|
||||
|
|
Loading…
Reference in a new issue