mirror of
https://github.com/zeldaret/tww.git
synced 2026-07-09 06:03:22 -04:00
d_particle work
This commit is contained in:
+1
-1
@@ -27,7 +27,7 @@ void dLib_setCirclePath(dLib_circle_path_c* path) {
|
||||
/* 800570CC-8005716C .text dLib_getWaterY__FR4cXyzR12dBgS_ObjAcch */
|
||||
f32 dLib_getWaterY(cXyz& pos, dBgS_ObjAcch& acch) {
|
||||
BOOL waterHit = acch.ChkWaterHit();
|
||||
f32 waterHeight = waterHit ? acch.m_wtr.GetHeight() : -1e+09f;
|
||||
f32 waterHeight = waterHit ? acch.m_wtr.GetHeight() : C_BG_INVALID_HEIGHT;
|
||||
if (daSea_ChkArea(pos.x, pos.z)) {
|
||||
f32 seaHeight = daSea_calcWave(pos.x, pos.z);
|
||||
if (!waterHit || seaHeight > waterHeight) {
|
||||
|
||||
Reference in New Issue
Block a user