- stunned characters don't move their hands behind their back when cuffed (caused the characters to flail around when someone grabs them)
- characters can run while grabbing/dragging someone - inventory and chatbox are hidden when stunned - turret rotation is reset between minRotation and maxRotation when changing the rotation limits - fixed explosion damage being applied to simPositions of the limbs instead of worldpositions
This commit is contained in:
@@ -306,8 +306,8 @@ namespace Barotrauma.Networking
|
||||
{
|
||||
if (gameStarted && Screen.Selected == GameMain.GameScreen)
|
||||
{
|
||||
//chatBox.Visible = Character.Controlled == null || !Character.Controlled.IsUnconscious;
|
||||
chatMsgBox.Visible = Character.Controlled == null || !Character.Controlled.IsUnconscious;
|
||||
chatMsgBox.Visible = Character.Controlled == null ||
|
||||
(!Character.Controlled.IsUnconscious && Character.Controlled.Stun >= 0.0f);
|
||||
|
||||
inGameHUD.Update(deltaTime);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user