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/Event/evtResourceTimeline.cpp | |
| parent | 88bcc9eec1481b47361dc717c83e4953e8929a2b (diff) | |
Add #ifdef declarations for NON_MATCHING code
Diffstat (limited to 'src/KingSystem/Event/evtResourceTimeline.cpp')
| -rw-r--r-- | src/KingSystem/Event/evtResourceTimeline.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/KingSystem/Event/evtResourceTimeline.cpp b/src/KingSystem/Event/evtResourceTimeline.cpp index a7156334..28ea3261 100644 --- a/src/KingSystem/Event/evtResourceTimeline.cpp +++ b/src/KingSystem/Event/evtResourceTimeline.cpp @@ -118,7 +118,8 @@ long bindActorActions(evfl::TimelineObj& obj, res::EventFlowActionBinder binder) return int(ok) | (int(failed) << 8); } -// NON_MATCHING: minor reordering for the buildTimeline loop +// minor reordering for the buildTimeline loop +#ifdef NON_MATCHING bool ResourceTimeline::setUpBindings(ActorBindings* bindings, sead::Heap* heap) { sead::Buffer<evfl::TimelineObj> timeline_objs; timeline_objs.allocBufferAssert(mTimelines.size(), heap); @@ -162,6 +163,7 @@ bool ResourceTimeline::setUpBindings(ActorBindings* bindings, sead::Heap* heap) timeline_objs.freeBuffer(); return true; } +#endif bool ResourceTimeline::buildTimeline(evfl::TimelineObj* obj, int idx, sead::Heap* heap) { auto& timeline = mTimelines[idx]; |
