summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_sea.cpp
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2024-01-04 00:37:52 -0500
committerLagoLunatic <LagoLunatic@users.noreply.github.com>2024-01-04 00:37:52 -0500
commita0ea5116506c5c3a93747bacefe6f0937c861fd5 (patch)
treeaf97c11f610809d6c2b4411481375f62aaf3c633 /src/d/actor/d_a_sea.cpp
parenteb3db3883cb70320f1a668a271f4ba653834fe16 (diff)
Add save stage table, stage type, and event bit enums
Diffstat (limited to 'src/d/actor/d_a_sea.cpp')
-rw-r--r--src/d/actor/d_a_sea.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/d/actor/d_a_sea.cpp b/src/d/actor/d_a_sea.cpp
index ba9d4cf3..211fb6ef 100644
--- a/src/d/actor/d_a_sea.cpp
+++ b/src/d/actor/d_a_sea.cpp
@@ -90,7 +90,7 @@ u32 daSea_WaterHeightInfo_Mng::GetHeight(int x, int z) {
if (x < 0 || 9 <= x || z < 0 || 9 <= z)
return 10;
- if (dStage_stagInfo_GetSTType(dComIfGp_getStageStagInfo()) == 7) {
+ if (dStage_stagInfo_GetSTType(dComIfGp_getStageStagInfo()) == dStageType_SEA_e) {
return mHeight[z][x];
} else {
return get_wave_max(dComIfGp_roomControl_getStayNo());