summaryrefslogtreecommitdiff
path: root/src/KingSystem/ActorSystem/actBaseProc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/KingSystem/ActorSystem/actBaseProc.cpp')
-rw-r--r--src/KingSystem/ActorSystem/actBaseProc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/KingSystem/ActorSystem/actBaseProc.cpp b/src/KingSystem/ActorSystem/actBaseProc.cpp
index d542d67c..6e1bea55 100644
--- a/src/KingSystem/ActorSystem/actBaseProc.cpp
+++ b/src/KingSystem/ActorSystem/actBaseProc.cpp
@@ -27,7 +27,7 @@ BaseProc::~BaseProc() {
unlinkCalcChild_();
unlinkCalcParent_();
- if (mDeleteListNode.isLinked())
+ if (mUpdateStateListNode.isLinked())
BaseProcMgr::instance()->eraseFromUpdateStateList(*this);
}
@@ -157,7 +157,7 @@ BaseProc::PreDeletePrepareResult BaseProc::prepareForPreDelete_() {
// NON_MATCHING: branching
bool BaseProc::startPreparingForPreDelete_() {
- if (mDeleteListNode.isLinked())
+ if (mUpdateStateListNode.isLinked())
return false;
return !mBaseProcLinkData || mBaseProcLinkData->refCount() <= 0 ||