llde / TESReloaded10

Other
42 stars 21 forks source link

Handle underwater effect detection by using the water objects bounding box #57

Closed mchaptel closed 1 year ago

mchaptel commented 1 year ago

Instead of having a single constants with cell water level, using an actual detection of camera position based on water objects would be more reliable.

mchaptel commented 1 year ago

maybe it would be possible to just use the vanilla water detection as found here:

https://github.com/jazzisparis/JIP-LN-NVSE/blob/main/nvse/GameObjects.h#L87

mchaptel commented 1 year ago

fixed by https://github.com/llde/TESReloaded10/pull/77