fix(network): Adds UOG & Fixes ConnectUO packet (#552)
- [X] Adds UOG Extended and Compact (0xF1 0x51 packet) - [X] Fixes ConnectUO bad length
This commit is contained in:
parent
5e3b42bf9c
commit
c50322c0e3
25 changed files with 196 additions and 38 deletions
|
|
@ -1072,7 +1072,7 @@ namespace Server.Commands
|
|||
{
|
||||
res = true;
|
||||
}
|
||||
else if (Math.Abs(item.Z - z) < 8)
|
||||
else if ((item.Z - z).Abs() < 8)
|
||||
{
|
||||
m_DeleteQueue.Enqueue(item);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1069,7 +1069,7 @@ namespace Server.Commands
|
|||
{
|
||||
res = true;
|
||||
}
|
||||
else if (Math.Abs(item.Z - z) < 8)
|
||||
else if ((item.Z - z).Abs() < 8)
|
||||
{
|
||||
m_DeleteQueue.Enqueue(item);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue