Can compile again
Let's hope it's not too broken.
This commit is contained in:
@@ -134,7 +134,6 @@
|
|||||||
<Compile Include="Source\Items\Components\ItemLabel.cs" />
|
<Compile Include="Source\Items\Components\ItemLabel.cs" />
|
||||||
<Compile Include="Source\Items\Components\StatusHUD.cs" />
|
<Compile Include="Source\Items\Components\StatusHUD.cs" />
|
||||||
<Compile Include="Source\Items\FixRequirement.cs" />
|
<Compile Include="Source\Items\FixRequirement.cs" />
|
||||||
<Compile Include="Source\Networking\EntityRemover.cs" />
|
|
||||||
<Compile Include="Source\Networking\EntitySpawner.cs" />
|
<Compile Include="Source\Networking\EntitySpawner.cs" />
|
||||||
<Compile Include="Source\Map\EntityGrid.cs" />
|
<Compile Include="Source\Map\EntityGrid.cs" />
|
||||||
<Compile Include="Source\Map\FireSource.cs" />
|
<Compile Include="Source\Map\FireSource.cs" />
|
||||||
|
|||||||
@@ -31,5 +31,5 @@ using System.Runtime.InteropServices;
|
|||||||
// You can specify all the values or you can default the Build and Revision Numbers
|
// You can specify all the values or you can default the Build and Revision Numbers
|
||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
[assembly: AssemblyVersion("0.5.1.600")]
|
[assembly: AssemblyVersion("0.5.3.600")]
|
||||||
[assembly: AssemblyFileVersion("0.5.1.600")]
|
[assembly: AssemblyFileVersion("0.5.3.600")]
|
||||||
|
|||||||
@@ -456,15 +456,14 @@ namespace Barotrauma.Items.Components
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
msg.Write(posToMaintain != null);
|
msg.Write(posToMaintain != null);
|
||||||
message.Write(posToMaintain != null);
|
|
||||||
if (posToMaintain != null)
|
if (posToMaintain != null)
|
||||||
{
|
{
|
||||||
message.Write(((Vector2)posToMaintain).X);
|
msg.Write(((Vector2)posToMaintain).X);
|
||||||
message.Write(((Vector2)posToMaintain).Y);
|
msg.Write(((Vector2)posToMaintain).Y);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
message.Write(levelStartTickBox.Selected);
|
msg.Write(levelStartTickBox.Selected);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -489,16 +488,16 @@ namespace Barotrauma.Items.Components
|
|||||||
{
|
{
|
||||||
posToMaintain = null;
|
posToMaintain = null;
|
||||||
maintainPosTickBox.Selected = false;
|
maintainPosTickBox.Selected = false;
|
||||||
bool maintainPos = message.ReadBoolean();
|
bool maintainPoss = msg.ReadBoolean();
|
||||||
if (maintainPos)
|
if (maintainPoss)
|
||||||
{
|
{
|
||||||
newPosToMaintain = new Vector2(
|
Vector2 newPosToMaintain = new Vector2(
|
||||||
message.ReadFloat(),
|
msg.ReadFloat(),
|
||||||
message.ReadFloat());
|
msg.ReadFloat());
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
headingToStart = message.ReadBoolean();
|
bool headingToStart = msg.ReadBoolean();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -547,13 +546,13 @@ namespace Barotrauma.Items.Components
|
|||||||
maintainPosTickBox.Selected = false;
|
maintainPosTickBox.Selected = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
maintainPosTickBox.Selected = newPosToMaintain != null;
|
maintainPosTickBox.Selected = posToMaintain != null;
|
||||||
posToMaintain = newPosToMaintain;
|
//posToMaintain = newPosToMaintain;
|
||||||
|
|
||||||
if (posToMaintain == null && autoPilot)
|
if (posToMaintain == null && autoPilot)
|
||||||
{
|
{
|
||||||
levelStartTickBox.Selected = headingToStart;
|
levelStartTickBox.Selected = false;//headingToStart;
|
||||||
levelEndTickBox.Selected = !headingToStart;
|
levelEndTickBox.Selected = true;//!headingToStart;
|
||||||
|
|
||||||
UpdatePath();
|
UpdatePath();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user