summaryrefslogtreecommitdiff
path: root/src/KingSystem/ActorSystem/actBaseProcJobQue.h
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2021-03-14 17:41:55 +0100
committerLéo Lam <leo@leolam.fr>2021-03-15 01:44:27 +0100
commiteef975f585f4cca8bbba89fc097d91dc620565ff (patch)
treec27d486c1626dd857c5c4a327b33d5fea1e65f16 /src/KingSystem/ActorSystem/actBaseProcJobQue.h
parent20960b596fdc288ac4f4672bddba06c245987fb1 (diff)
ksys/act: Add more BaseProcMgr functions
Diffstat (limited to 'src/KingSystem/ActorSystem/actBaseProcJobQue.h')
-rw-r--r--src/KingSystem/ActorSystem/actBaseProcJobQue.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/KingSystem/ActorSystem/actBaseProcJobQue.h b/src/KingSystem/ActorSystem/actBaseProcJobQue.h
index 9a5dc27a..6d2aaf54 100644
--- a/src/KingSystem/ActorSystem/actBaseProcJobQue.h
+++ b/src/KingSystem/ActorSystem/actBaseProcJobQue.h
@@ -31,6 +31,8 @@ public:
bool pushExtraJobs(sead::FixedSizeJQ* queue,
const agl::utl::AtomicPtrArray<BaseProcJobLink>& links);
+ void clear() { mNumExtraJobs = 0; }
+
private:
bool pushJobs(sead::FixedSizeJQ* queue, BaseProcJobLists* lists, int priority,
bool should_reset_job_idx, JobType type);