Fix event priority.

This commit is contained in:
2023-04-20 20:05:59 +08:00
parent 1c1560f17f
commit 6b3a9c9f0a
2 changed files with 4 additions and 4 deletions

View File

@@ -39,7 +39,7 @@ namespace Cryville.Crtr {
public bool Forced { get; set; }
public override bool CanDiscard { get { return !Forced; } }
public override int Priority { get { return m_priority; } }
public void SetPriority(int value) { m_priority = value; }
public void SetPriority(int value) { m_priority = value + Container.Priority - 0x800; }
}
public class ClipBehind : StampedEvent {