- special death messages for husk infections

- fixed husk infections not being removed from clients
- more accurate bleeding indicators
- humanoid standing anim tweaking
This commit is contained in:
Regalis
2016-08-28 20:17:00 +03:00
parent 202f959bd2
commit 2c5d272acd
6 changed files with 33 additions and 30 deletions
+6 -1
View File
@@ -1816,6 +1816,7 @@ namespace Barotrauma
bleeding = 0.0f;
Oxygen = 100.0f;
AnimController.StunTimer = 0.0f;
huskInfection = null;
return true;
}
@@ -1827,7 +1828,11 @@ namespace Barotrauma
if (message.ReadBoolean())
{
HuskInfectionState = message.ReadRangedSingle(0.0f, 1.0f, 4);
float infectionState = message.ReadRangedSingle(0.0f, 1.0f, 4);
if (infectionState == 0.0f)
huskInfection = null;
else
HuskInfectionState = infectionState;
}
break;