Updated client project (ShiftSummary -> RoundSummary), removed unused drowningtime variable

This commit is contained in:
Joonas Rikkonen
2017-10-05 21:35:57 +03:00
parent f8dfba91b8
commit c444186426
3 changed files with 2 additions and 4 deletions

View File

@@ -99,7 +99,7 @@
<Compile Include="Source\GameSession\GameModes\Tutorials\TutorialType.cs" />
<Compile Include="Source\GameSession\GameSession.cs" />
<Compile Include="Source\GameSession\HireManager.cs" />
<Compile Include="Source\GameSession\ShiftSummary.cs" />
<Compile Include="Source\GameSession\RoundSummary.cs" />
<Compile Include="Source\GameSettings.cs" />
<Compile Include="Source\GUI\ComponentStyle.cs" />
<Compile Include="Source\GUI\GUI.cs" />

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8" ?>
<Character name ="human" humanoid="true" needsair="true" genders="true" maleheadid="1,8" femaleheadid="1,8" drowningtime="30">
<Character name ="human" humanoid="true" needsair="true" genders="true" maleheadid="1,8" femaleheadid="1,8">
<name firstname="Content/Characters/Human/[GENDER]firstnames.txt" lastname="Content/Characters/Human/lastnames.txt" />

View File

@@ -89,7 +89,6 @@ namespace Barotrauma
protected bool needsAir;
protected float oxygen, oxygenAvailable;
protected float drowningTime;
private float health, lastSentHealth;
protected float minHealth, maxHealth;
@@ -584,7 +583,6 @@ namespace Barotrauma
BleedingDecreaseSpeed = doc.Root.GetAttributeFloat("bleedingdecreasespeed", 0.05f);
needsAir = doc.Root.GetAttributeBool("needsair", false);
drowningTime = doc.Root.GetAttributeFloat("drowningtime", 10.0f);
if (file == humanConfigFile)
{