diff --git a/lib/sead b/lib/sead index 91650efc..2bf84562 160000 --- a/lib/sead +++ b/lib/sead @@ -1 +1 @@ -Subproject commit 91650efcd19235db9afe5a4f73fbaa86ce46710a +Subproject commit 2bf8456295d4640862e112fba66cb6bf2cc0ee93 diff --git a/src/KingSystem/ActorSystem/actBaseProc.cpp b/src/KingSystem/ActorSystem/actBaseProc.cpp index 0e4cd1b4..aef2365f 100644 --- a/src/KingSystem/ActorSystem/actBaseProc.cpp +++ b/src/KingSystem/ActorSystem/actBaseProc.cpp @@ -206,7 +206,7 @@ bool BaseProc::processStateUpdate(u8 counter) { return true; } // Try the deletion again later. - mStateFlags.setDirect(StateFlags::RequestDelete); + mStateFlags = StateFlags::RequestDelete; return false; } @@ -220,7 +220,7 @@ bool BaseProc::processStateUpdate(u8 counter) { if (shouldClearStateFlag4000_()) new_flags.makeAllZero(); else - new_flags.setDirect(StateFlags::_4000); + new_flags = StateFlags::_4000; } else { new_flags.makeAllZero(); } @@ -263,7 +263,7 @@ bool BaseProc::processStateUpdate(u8 counter) { if (mStateFlags.isOn(StateFlags::RequestDelete)) { new_flags.set(StateFlags::RequestDelete); - mStateFlags.setDirect(new_flags.getDirect()); + mStateFlags = new_flags; return false; }