fix: Fixes Point2D ctor (#1340)
This commit is contained in:
parent
f24c6a08dd
commit
65c196a8ae
7 changed files with 45 additions and 35 deletions
|
|
@ -115,7 +115,7 @@ namespace Server.Gumps
|
|||
{
|
||||
case 1: // Current location
|
||||
{
|
||||
toSet = new Point2D(m_Mobile.Location.X, m_Mobile.Location.Y);
|
||||
toSet = new Point2D(m_Mobile.Location);
|
||||
shouldSet = true;
|
||||
shouldSend = true;
|
||||
|
||||
|
|
@ -198,7 +198,7 @@ namespace Server.Gumps
|
|||
{
|
||||
try
|
||||
{
|
||||
var p = new Point2D(point3D.X, point3D.Y);
|
||||
var p = new Point2D(point3D);
|
||||
CommandLogging.LogChangeProperty(m_Mobile, m_Object, m_Property.Name, p.ToString());
|
||||
m_Property.SetValue(m_Object, p, null);
|
||||
m_PropertiesGump.OnValueChanged(m_Object, m_Property);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue