From da35629aa82c50ea26fc09006092ac7c340ca10c Mon Sep 17 00:00:00 2001 From: notyouraveragehooman <65437533+notyouraveragehooman@users.noreply.github.com> Date: Fri, 21 Aug 2020 15:38:44 -0700 Subject: BaseProc::release --- src/KingSystem/ActorSystem/actBaseProc.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/KingSystem/ActorSystem/actBaseProc.cpp') diff --git a/src/KingSystem/ActorSystem/actBaseProc.cpp b/src/KingSystem/ActorSystem/actBaseProc.cpp index 2748f667..b0a94ed3 100644 --- a/src/KingSystem/ActorSystem/actBaseProc.cpp +++ b/src/KingSystem/ActorSystem/actBaseProc.cpp @@ -425,6 +425,11 @@ bool BaseProc::x00000071011ba9fc() { return true; } +void BaseProc::release() { + if (mRefCount >= 1) + mRefCount--; +} + BaseProc* BaseProc::getConnectedCalcParent() const { if (mConnectedCalcParent == nullptr || mConnectedCalcParent->mState == State::Delete) return nullptr; -- cgit v1.2.3