diff options
Diffstat (limited to 'src/KingSystem/ActorSystem/actBaseProc.h')
| -rw-r--r-- | src/KingSystem/ActorSystem/actBaseProc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/KingSystem/ActorSystem/actBaseProc.h b/src/KingSystem/ActorSystem/actBaseProc.h index 6a55c2fb..761acd4b 100644 --- a/src/KingSystem/ActorSystem/actBaseProc.h +++ b/src/KingSystem/ActorSystem/actBaseProc.h @@ -102,6 +102,7 @@ public: bool isDeletedOrDeleting() const { return mState == State::Delete || mStateFlags.isOn(StateFlags::RequestDelete); } + bool isDeleteOrInvalid() const { return mState >= act::BaseProc::State::Delete; } /// For BaseProcLink or ActorLinkConstDataAccess. bool acquire(ActorLinkConstDataAccess& accessor); |
