diff options
| author | lepelog <25211966+lepelog@users.noreply.github.com> | 2025-12-04 15:02:01 +0100 |
|---|---|---|
| committer | lepelog <25211966+lepelog@users.noreply.github.com> | 2025-12-04 15:02:01 +0100 |
| commit | f47cb1f1f7775fd5ec9bfb881e05707be9ffa0fb (patch) | |
| tree | bf6dcf3395b983a940cc2068b0c0013cb538e459 /src | |
| parent | e995c184e15a77313da0a94e17f7cf6550448004 (diff) | |
match initializeState_WaitForceEscape
Diffstat (limited to 'src')
| -rw-r--r-- | src/REL/d/t/d_t_insect.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/REL/d/t/d_t_insect.cpp b/src/REL/d/t/d_t_insect.cpp index 9b29bd9e..ab9d569b 100644 --- a/src/REL/d/t/d_t_insect.cpp +++ b/src/REL/d/t/d_t_insect.cpp @@ -257,11 +257,11 @@ void dTgInsect_c::executeState_WaitCreate() { } void dTgInsect_c::finalizeState_WaitCreate() {} -// non matching: regswap void dTgInsect_c::initializeState_WaitForceEscape() { for (s32 i = 0; i < mInsectCount; i++) { - if (mLinks[i].isLinked()) { - mLinks[i].get()->mActorProperties |= AC_PROP_0x4; + dAcOInsect_c* tmp = static_cast<dAcOInsect_c*>(mLinks[i].get()); + if (tmp) { + tmp->setActorProperty(AC_PROP_0x4); } } } |
