This reverts commit 179cb50557.
This commit is contained in:
parent
179cb50557
commit
c2ecc76457
588 changed files with 16260 additions and 10926 deletions
|
|
@ -66,8 +66,9 @@ namespace Server.Gumps
|
|||
}
|
||||
}
|
||||
|
||||
private int GetMaterialNumber(StatueType type, StatueMaterial material) =>
|
||||
material switch
|
||||
private int GetMaterialNumber(StatueType type, StatueMaterial material)
|
||||
{
|
||||
switch (material)
|
||||
{
|
||||
case StatueMaterial.Antique:
|
||||
|
||||
|
|
@ -125,7 +126,7 @@ namespace Server.Gumps
|
|||
|
||||
m_Maker?.Delete();
|
||||
|
||||
m_Statue.Sculpt(sender.Mobile);
|
||||
m_Statue.Sculpt(state.Mobile);
|
||||
}
|
||||
else if (info.ButtonID == (int)Buttons.PosePrev)
|
||||
{
|
||||
|
|
@ -173,11 +174,11 @@ namespace Server.Gumps
|
|||
}
|
||||
else // Close
|
||||
{
|
||||
sendGump = !m_Statue.Demolish(sender.Mobile);
|
||||
sendGump = !m_Statue.Demolish(state.Mobile);
|
||||
}
|
||||
|
||||
if (sendGump)
|
||||
sender.Mobile.SendGump(new CharacterStatueGump(m_Maker, m_Statue, m_Owner));
|
||||
state.Mobile.SendGump(new CharacterStatueGump(m_Maker, m_Statue, m_Owner));
|
||||
}
|
||||
|
||||
private enum Buttons
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue