diff options
| author | AlexApps99 <alex.apps99@gmail.com> | 2021-07-26 21:58:51 +1200 |
|---|---|---|
| committer | AlexApps99 <alex.apps99@gmail.com> | 2021-07-26 23:05:19 +1200 |
| commit | 42807160cfb33af9f3cf2fa6b0ba98f232208cdb (patch) | |
| tree | 95b1b16a3f4cf7d0ab51e90b3d73e53f74ba7f2b /src/KingSystem/Map/mapObjectLink.cpp | |
| parent | 88bcc9eec1481b47361dc717c83e4953e8929a2b (diff) | |
Add #ifdef declarations for NON_MATCHING code
Diffstat (limited to 'src/KingSystem/Map/mapObjectLink.cpp')
| -rw-r--r-- | src/KingSystem/Map/mapObjectLink.cpp | 3 |
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); |
