fixed railgun, fixed repairtools radar ping & improved rendering, waypoint bugfixes, inventory bugfixes, syncing wires between clients
This commit is contained in:
@@ -61,13 +61,16 @@ namespace Subsurface
|
||||
get { return false; }
|
||||
}
|
||||
|
||||
public Vector2 Position
|
||||
public virtual Vector2 Position
|
||||
{
|
||||
get
|
||||
{
|
||||
return new Vector2(
|
||||
Vector2 rectPos = new Vector2(
|
||||
rect.X + rect.Width / 2.0f,
|
||||
rect.Y - rect.Height / 2.0f);
|
||||
|
||||
if (MoveWithLevel) rectPos += Level.Loaded.Position;
|
||||
return rectPos;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user