Skip to content

Commit

Permalink
теперь аномалия "жгучий пух" наносит урон(правка взята из ЗП)
Browse files Browse the repository at this point in the history
  • Loading branch information
abramcumner committed Jan 23, 2017
1 parent 42737bf commit 21c3f31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xray/xrGame/HairsZone.cpp
Expand Up @@ -59,7 +59,7 @@ void CHairsZone::Affect(SZoneObjectInfo* O)

Fvector position_in_bone_space;

P.y=0.f;
P.y = pGameObject->Position().y;
float power = Power(pGameObject->Position().distance_to(P));
float power_critical = 0.0f;
float impulse = m_fHitImpulseScale*power*pGameObject->GetMass();
Expand Down

0 comments on commit 21c3f31

Please sign in to comment.