mirror of
https://github.com/zeldaret/botw
synced 2026-05-25 07:22:56 -04:00
ksys/act: Fix BaseProc::isSpecialJobType_ return type
BaseProc::isSpecialJobType_ returns 0, 1 or 2 This fixes the matching issue!
This commit is contained in:
@@ -156,9 +156,11 @@ void BaseProc::preDelete2_(bool*) {}
|
||||
|
||||
void BaseProc::preDelete1_() {}
|
||||
|
||||
// NON_MATCHING: branching
|
||||
bool BaseProc::isSpecialJobType_(JobType type) {
|
||||
return BaseProcMgr::instance()->isSpecialJobType(type) || isSpecialJobTypeForThisActor_(type);
|
||||
BaseProc::IsSpecialJobTypeResult BaseProc::isSpecialJobType_(JobType type) {
|
||||
if (BaseProcMgr::instance()->isSpecialJobType(type) || isSpecialJobTypeForThisActor_(type))
|
||||
return IsSpecialJobTypeResult::Yes;
|
||||
|
||||
return IsSpecialJobTypeResult::No;
|
||||
}
|
||||
|
||||
bool BaseProc::canWakeUp_() {
|
||||
|
||||
Reference in New Issue
Block a user