summaryrefslogtreecommitdiff
path: root/src/KingSystem/Map/mapObjectLink.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/KingSystem/Map/mapObjectLink.cpp')
-rw-r--r--src/KingSystem/Map/mapObjectLink.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/KingSystem/Map/mapObjectLink.cpp b/src/KingSystem/Map/mapObjectLink.cpp
index 700ab069..aff66c1c 100644
--- a/src/KingSystem/Map/mapObjectLink.cpp
+++ b/src/KingSystem/Map/mapObjectLink.cpp
@@ -185,7 +185,7 @@ void ObjectLinkData::setGenGroup(GenGroup* group) {
mGenGroup = group;
}
-// NON_MATCHING
+#ifdef NON_MATCHING
bool ObjectLinkArray::checkLink(MapLinkDefType t, bool b) {
bool x_exists;
ObjectLink* link = nullptr;
@@ -216,6 +216,7 @@ done:
acc.acquire(nullptr);
return acc.checkLinkTagActivated(b, x_exists);
}
+#endif
ObjectLink* ObjectLinkArray::findLinkWithType(MapLinkDefType type) {
return findLinkWithType_0(type);