mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-20 21:53:52 -04:00
various cleanup, fix some fakematches
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user