Fixed ragdolled players suffering less impact damage than non-ragdolled one.
Also fixed limb impact sounds on the clientside for ragdolls
This commit is contained in:
@@ -504,10 +504,7 @@ namespace Barotrauma
|
||||
|
||||
ImpactProjSpecific(impact,f1.Body);
|
||||
|
||||
if (f1.Body.UserData is Limb)
|
||||
{
|
||||
}
|
||||
else if (f1.Body == Collider.FarseerBody)
|
||||
if ((f1.Body.UserData is Limb && character.Stun > 0f) || f1.Body == Collider.FarseerBody)
|
||||
{
|
||||
if (!character.IsRemotePlayer || GameMain.Server != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user