summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_item.cpp
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2025-05-07 23:00:35 -0400
committerLagoLunatic <LagoLunatic@users.noreply.github.com>2025-05-07 23:00:35 -0400
commit534f5d4e72b584ef200d7d1f5ad66397accb6f71 (patch)
tree2f9e899d734c12a94f009a2a224e323b42139056 /src/d/actor/d_a_item.cpp
parent224b83ed8ca3d5305d7cbcbff902b5562d8267a1 (diff)
player_crawl and player_hammer 100%, misc player cleanup
Diffstat (limited to 'src/d/actor/d_a_item.cpp')
-rw-r--r--src/d/actor/d_a_item.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/d/actor/d_a_item.cpp b/src/d/actor/d_a_item.cpp
index 53d445a6..ccb7e7ca 100644
--- a/src/d/actor/d_a_item.cpp
+++ b/src/d/actor/d_a_item.cpp
@@ -1287,7 +1287,7 @@ void daItem_c::mode_wait() {
break;
}
- if (mAcch.ChkWaterHit() && mAcch.m_wtr.GetHeight() > current.pos.y ||
+ if ((mAcch.ChkWaterHit() && mAcch.m_wtr.GetHeight() > current.pos.y) ||
(daSea_ChkArea(current.pos.x, current.pos.z) && daSea_calcWave(current.pos.x, current.pos.z) > current.pos.y))
{
mode_water_init();