build: fix unified water#1763
Conversation
📝 WalkthroughWalkthroughThis change refactors the water system API in UnifiedWater by renaming methods (InitializeWater→AddWater, RemoveGeometry→RemoveWater) and standardizing coordinate references from per-node coordinates to base cell coordinates throughout water cache lookups and positional calculations. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 1 | ❌ 2❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (1 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Pull request overview
Adjusts Unified Water’s terrain-block attach logic to correctly locate per-chunk instructions and to use the appropriate TESWaterSystem APIs when removing/adding water objects.
Changes:
- Switches water object removal/creation from
RemoveGeometry/InitializeWatertoRemoveWater/AddWater. - Uses
BGSTerrainNode::baseCellX/baseCellY(instead ofx/y) for instruction lookup, logging, and placement offset math.
|
✅ A pre-release build is available for this PR: |
Renamed members to match commonlib 4.0.0.
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.