feat(object): add ClntObjMgrPop

This commit is contained in:
fallenoak committed 2026-01-05 22:34:08 -06:00
1 parent 0e685d6fbd
commit 02961c3511
2 files changed
+11

No files matched your search

+9
View File
@@ -16,6 +16,15 @@ uint32_t ClntObjMgrGetMapID() {
return s_curMgr->m_mapID;
}
void ClntObjMgrPop() {
if (!s_savMgr) {
return;
}
s_curMgr = s_savMgr;
s_savMgr = nullptr;
}
void ClntObjMgrPush(ClntObjMgr* mgr) {
if (s_savMgr || mgr == s_curMgr) {
return;
+2
View File
@@ -6,6 +6,8 @@
uint32_t ClntObjMgrGetMapID();
void ClntObjMgrPop();
void ClntObjMgrPush(ClntObjMgr* mgr);
#endif