summaryrefslogtreecommitdiff
path: root/src/d/d_kankyo_rain.cpp
diff options
context:
space:
mode:
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 dac2f37b..02a23171 100644
--- a/src/d/d_kankyo_rain.cpp
+++ b/src/d/d_kankyo_rain.cpp
@@ -1253,7 +1253,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) != 0)
+ if (((res & 1) != 0) && (hitInfo.GetAtHitObj()->GetAtType() & AT_TYPE_LIGHT))
ret = TRUE;
return ret;
}