Removes literal variables (#257)

This commit is contained in:
Kamron Batman 2020-09-18 18:41:26 -07:00 • committed by GitHub
parent 580da8a0cc
commit 4d6e584b6c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
359 changed files with 1306 additions and 1306 deletions

View file

@ -74,11 +74,11 @@ namespace Server.Gumps
if (node == tree.Root)
{
tree.LastBranch.Remove(@from);
tree.LastBranch.Remove(from);
}
else
{
tree.LastBranch[@from] = node;
tree.LastBranch[from] = node;
}
m_Page = page;
@ -239,7 +239,7 @@ namespace Server.Gumps
if (branch != null)
{
@from.SendGump(new GoGump(0, @from, tree, branch));
from.SendGump(new GoGump(0, from, tree, branch));
}
}
@ -253,7 +253,7 @@ namespace Server.Gumps
{
if (m_Node.Parent != null)
{
@from.SendGump(new GoGump(0, @from, m_Tree, m_Node.Parent));
from.SendGump(new GoGump(0, from, m_Tree, m_Node.Parent));
}
break;
@ -262,7 +262,7 @@ namespace Server.Gumps
{
if (m_Page > 0)
{
@from.SendGump(new GoGump(m_Page - 1, @from, m_Tree, m_Node));
from.SendGump(new GoGump(m_Page - 1, from, m_Tree, m_Node));
}
break;
@ -271,7 +271,7 @@ namespace Server.Gumps
{
if ((m_Page + 1) * EntryCount < m_Node.Categories.Length + m_Node.Locations.Length)
{
@from.SendGump(new GoGump(m_Page + 1, @from, m_Tree, m_Node));
from.SendGump(new GoGump(m_Page + 1, from, m_Tree, m_Node));
}
break;
@ -294,7 +294,7 @@ namespace Server.Gumps
index -= m_Node.Categories.Length;
if (index < m_Node.Locations.Length)
{
@from.MoveToWorld(m_Node.Locations[index].Location, m_Tree.Map);
from.MoveToWorld(m_Node.Locations[index].Location, m_Tree.Map);
}
}