summaryrefslogtreecommitdiff
path: root/src/d/d_kankyo_rain.cpp
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2024-02-10 01:09:51 -0500
committerLagoLunatic <LagoLunatic@users.noreply.github.com>2024-02-10 01:09:51 -0500
commitdeb7faebbfde8117c876b7c17248c2f9fb8a8f67 (patch)
treef536e9fde6cb068664e6a7d77beee1aaaf37dee1 /src/d/d_kankyo_rain.cpp
parent7c983ef0c70e50f5d96eeafefba89ae027183498 (diff)
various cleanup, fix some fakematches
Diffstat (limited to 'src/d/d_kankyo_rain.cpp')
-rw-r--r--src/d/d_kankyo_rain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/d/d_kankyo_rain.cpp b/src/d/d_kankyo_rain.cpp
index 9144ce9e..80fe7c8a 100644
--- a/src/d/d_kankyo_rain.cpp
+++ b/src/d/d_kankyo_rain.cpp
@@ -1252,7 +1252,7 @@ BOOL light_at_hit_check(cXyz* pPos) {
BOOL ret = FALSE;
fopAc_ac_c * pActor;
u32 res = dComIfG_Ccsp()->ChkMass(pPos, &pActor, &hitInfo);
- if (((res & 1) != 0) && (hitInfo.GetAtHitObj()->GetAtType() & AT_TYPE_LIGHT))
+ if (((res & 1) != 0) && (hitInfo.GetAtHitObj()->ChkAtType(AT_TYPE_LIGHT)))
ret = TRUE;
return ret;
}