Compatibility with RC 0.4

This commit is contained in:
Pascal Serrarens 2025-05-28 12:34:49 +02:00
parent 5432a9660d
commit 79350c9ea0
3 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@ namespace RoboidControl
{
protected HumanoidTarget.TargetedBone bone;
public BoneThing(Participant owner, HumanoidTarget.TargetedBone bone) : base(owner)
public BoneThing(HumanoidTarget.TargetedBone bone) : base()
{
this.bone = bone;
}

View File

@ -265,7 +265,7 @@ namespace Passer.Humanoid
}
humanoid = humanoids[0];
headThing = new BoneThing(this.participant, humanoid.headTarget.head);
headThing = new BoneThing(humanoid.headTarget.head);
// this.participant.Send(new ThingMsg((byte)humanoid.nwId, headThing));
//
//endpoint = new IPEndPoint(IPAddress.Any, sitePort);

View File

@ -2,5 +2,5 @@ using RoboidControl;
public class HumanoidThing : Thing
{
public HumanoidThing(bool invokeEvent = true) : base(Type.HUmanoid, invokeEvent) {}
public HumanoidThing(bool invokeEvent = true) : base(Type.Humanoid) {}
}