diff options
| author | theo3 <arisstephenson2@gmail.com> | 2020-08-27 13:20:39 -0700 |
|---|---|---|
| committer | theo3 <arisstephenson2@gmail.com> | 2020-08-27 14:48:22 -0700 |
| commit | 965d34c712d6372c5112e8d9943e48de622a9d5a (patch) | |
| tree | b6e4f487fd2a3a9db64f01b26fdb78e15d5b85dc /src/KingSystem/ActorSystem/actBaseProcUnit.cpp | |
| parent | aff4047630d082efe6f534f2866089399b467ce9 (diff) | |
non request BaseProcHandle stuff
refactoring
baseProcHandle.cpp refactoring
Diffstat (limited to 'src/KingSystem/ActorSystem/actBaseProcUnit.cpp')
| -rw-r--r-- | src/KingSystem/ActorSystem/actBaseProcUnit.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/KingSystem/ActorSystem/actBaseProcUnit.cpp b/src/KingSystem/ActorSystem/actBaseProcUnit.cpp index 8f8b3919..09bd6c81 100644 --- a/src/KingSystem/ActorSystem/actBaseProcUnit.cpp +++ b/src/KingSystem/ActorSystem/actBaseProcUnit.cpp @@ -4,6 +4,7 @@ #include "KingSystem/ActorSystem/actActorLinkConstDataAccess.h" #include "KingSystem/ActorSystem/actBaseProc.h" #include "KingSystem/Utils/Debug.h" + namespace ksys::act { // NON_MATCHING: Equivalent but branches are off. @@ -15,7 +16,7 @@ bool BaseProcUnit::setProc(BaseProc* proc) { if (mProc) mProc = nullptr; - if (mHandle == &BaseProcHandle::sDummyBaseProcHandle) + if (mHandle == &BaseProcHandle::sDummyHandle) return false; if (mHandle) { @@ -51,7 +52,7 @@ bool BaseProcUnit::setProc(BaseProc* proc) { } bool BaseProcUnit::isParentHandleDefault() const { - return mHandle == &BaseProcHandle::sDummyBaseProcHandle; + return mHandle == &BaseProcHandle::sDummyHandle; } } // namespace ksys::act
\ No newline at end of file |
