diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2023-10-31 16:41:28 -0400 |
|---|---|---|
| committer | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2023-10-31 16:41:28 -0400 |
| commit | 0ab15b4127b68df8290ec1ddb8846d4b1868bc90 (patch) | |
| tree | 4e362ef87a9b5515bbceff3e1bf70445942c7dcc /src/d/actor/d_a_dr.cpp | |
| parent | 5c69e690b8055a9d965450714cbeb77354a3b0b0 (diff) | |
d_a_ib OK, add J3DFrameCtrl state enum
Diffstat (limited to 'src/d/actor/d_a_dr.cpp')
| -rw-r--r-- | src/d/actor/d_a_dr.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/d/actor/d_a_dr.cpp b/src/d/actor/d_a_dr.cpp index ffd77f47..a813c2b0 100644 --- a/src/d/actor/d_a_dr.cpp +++ b/src/d/actor/d_a_dr.cpp @@ -132,7 +132,7 @@ static void move(dr_class* i_this) { // if (i_this->mpMorf->isStop()) { mDoExt_McaMorf* morf = i_this->mpMorf; bool stopped = true; - if (!morf->mFrameCtrl.checkState(1) && morf->mFrameCtrl.getRate() != 0.0f) { stopped = false; } + if (!morf->mFrameCtrl.checkState(J3DFrameCtrl::STATE_STOP_E) && morf->mFrameCtrl.getRate() != 0.0f) { stopped = false; } if (stopped) { i_this->mState = 0; } @@ -153,7 +153,7 @@ static void move(dr_class* i_this) { // if (i_this->mpMorf->isStop()) { morf = i_this->mpMorf; stopped = true; - if (!morf->mFrameCtrl.checkState(1) && morf->mFrameCtrl.getRate() != 0.0f) { stopped = false; } + if (!morf->mFrameCtrl.checkState(J3DFrameCtrl::STATE_STOP_E) && morf->mFrameCtrl.getRate() != 0.0f) { stopped = false; } if (stopped) { i_this->m2C9 = 1; if (i_this->mpBreathEmitter) { @@ -205,7 +205,7 @@ static void move(dr_class* i_this) { // if (i_this->mpMorf->isStop()) { morf = i_this->mpMorf; stopped = true; - if (!morf->mFrameCtrl.checkState(1) && morf->mFrameCtrl.getRate() != 0.0f) { stopped = false; } + if (!morf->mFrameCtrl.checkState(J3DFrameCtrl::STATE_STOP_E) && morf->mFrameCtrl.getRate() != 0.0f) { stopped = false; } if (stopped) { i_this->mState = 0; if (i_this->mpBreathEmitter) { |
