mirror of
https://github.com/zeldaret/botw
synced 2026-07-07 13:23:40 -04:00
various: fix mismatches in some action stubs and ResourceMgrTask
This commit is contained in:
@@ -28,7 +28,8 @@ void Off::loadParams_() {
|
||||
}
|
||||
|
||||
void Off::calc_() {
|
||||
ActionEx::calc_();
|
||||
if (isFinishedAS(*mTargetIdx_s, *mSeqBankIdx_s))
|
||||
setFinished();
|
||||
}
|
||||
|
||||
} // namespace uking::action
|
||||
|
||||
@@ -28,7 +28,8 @@ void On::loadParams_() {
|
||||
}
|
||||
|
||||
void On::calc_() {
|
||||
ActionEx::calc_();
|
||||
if (isFinishedAS(*mTargetIdx_s, *mSeqBankIdx_s))
|
||||
setFinished();
|
||||
}
|
||||
|
||||
} // namespace uking::action
|
||||
|
||||
@@ -21,7 +21,8 @@ void PlayerStoleOpenBase::loadParams_() {
|
||||
}
|
||||
|
||||
void PlayerStoleOpenBase::calc_() {
|
||||
ActionEx::calc_();
|
||||
if (isFinishedAS(0, 0))
|
||||
setFinished();
|
||||
}
|
||||
|
||||
} // namespace uking::action
|
||||
|
||||
@@ -681,7 +681,9 @@ void ResourceMgrTask::setCompactionStopped(bool stopped) {
|
||||
old_counter = mCompactionCounter.increment();
|
||||
|
||||
stubbedLogFunction();
|
||||
if (mCompactionCounter == 0 || old_counter == 0)
|
||||
if (mCompactionCounter == 0)
|
||||
stubbedLogFunction();
|
||||
else if (old_counter == 0)
|
||||
stubbedLogFunction();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user