summaryrefslogtreecommitdiff
path: root/src/KingSystem/Map/mapPlacementMgr.cpp
diff options
context:
space:
mode:
authorAlexApps99 <alex.apps99@gmail.com>2021-07-26 21:58:51 +1200
committerAlexApps99 <alex.apps99@gmail.com>2021-07-26 23:05:19 +1200
commit42807160cfb33af9f3cf2fa6b0ba98f232208cdb (patch)
tree95b1b16a3f4cf7d0ab51e90b3d73e53f74ba7f2b /src/KingSystem/Map/mapPlacementMgr.cpp
parent88bcc9eec1481b47361dc717c83e4953e8929a2b (diff)
Add #ifdef declarations for NON_MATCHING code
Diffstat (limited to 'src/KingSystem/Map/mapPlacementMgr.cpp')
-rw-r--r--src/KingSystem/Map/mapPlacementMgr.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/KingSystem/Map/mapPlacementMgr.cpp b/src/KingSystem/Map/mapPlacementMgr.cpp
index 931e6531..3ca5b27c 100644
--- a/src/KingSystem/Map/mapPlacementMgr.cpp
+++ b/src/KingSystem/Map/mapPlacementMgr.cpp
@@ -28,7 +28,7 @@ void PlacementMgr::releaseTree() {
mPlacementTree = nullptr;
}
-// NON_MATCHING
+#ifdef NON_MATCHING
void PlacementMgr::x_3() {
auto ac = act::ActorCreator::instance();
const auto loc = sead::makeScopedLock(ac->getCS());
@@ -41,12 +41,13 @@ void PlacementMgr::x_3() {
}
}
}
+#endif
void PlacementMgr::reset7F0() {
_7f0 = 0;
}
-// NON_MATCHING
+#ifdef NON_MATCHING
void PlacementMgr::initClusteredRenderer() {
if (mThread != nullptr && mClusteredRenderer == nullptr)
return;
@@ -68,6 +69,7 @@ void PlacementMgr::initClusteredRenderer() {
mClusteredRenderer->startThread();
}
}
+#endif
void PlacementMgr::auto0() {
if (mThread == nullptr)