Removes literal variables (#257)
This commit is contained in:
parent
580da8a0cc
commit
4d6e584b6c
359 changed files with 1306 additions and 1306 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue