mirror of
https://github.com/zeldaret/ss
synced 2026-05-25 23:35:13 -04:00
fix dAcNpcSltk_c::executeState_Wait regswap
This commit is contained in:
@@ -253,5 +253,8 @@ public:
|
||||
return (mActionFlagsCont & mask) != 0;
|
||||
}
|
||||
|
||||
static const dAcPy_c *GetLink() {
|
||||
return LINK;
|
||||
}
|
||||
static dAcPy_c *LINK;
|
||||
};
|
||||
|
||||
@@ -159,8 +159,9 @@ bool dAcNpcSltk_c::checkSomething(mVec3_c pos) {
|
||||
void dAcNpcSltk_c::initializeState_Wait() {}
|
||||
void dAcNpcSltk_c::executeState_Wait() {
|
||||
bool checkResult = false;
|
||||
// Regswap this, link
|
||||
dAcPy_c *link = dAcPy_c::LINK;
|
||||
|
||||
const dAcPy_c *link = dAcPy_c::GetLink();
|
||||
|
||||
dAcNpcSlb2_c *slb = mRef.get();
|
||||
if (slb != nullptr) {
|
||||
if (isSomething0()) {
|
||||
|
||||
Reference in New Issue
Block a user