mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-19 13:24:12 -04:00
d_a_npc_md
This commit is contained in:
@@ -661,7 +661,7 @@ namespace daBomb2 {
|
||||
hitNormal *= attr().field_0x44;
|
||||
mWindVec.abs2();
|
||||
fopAc_ac_c* hitActor = mSph.GetTgHitAc();
|
||||
if (hitActor && fpcM_GetProfName(hitActor) == PROC_PLAYER) {
|
||||
if (hitActor && fopAcM_GetProfName(hitActor) == PROC_PLAYER) {
|
||||
s16 hitObjAngleY = cM_atan2s(hitNormal.x, hitNormal.z);
|
||||
f32 f2 = cM_scos(hitActor->shape_angle.y - hitObjAngleY);
|
||||
if (f2 > 0.0f) {
|
||||
|
||||
Reference in New Issue
Block a user