Adds more formatting
This commit is contained in:
parent
e77d695684
commit
f674ec2be0
68 changed files with 530 additions and 876 deletions
|
|
@ -94,12 +94,10 @@ namespace Server.Items
|
|||
|
||||
int[][] RacialData = (m_From.Race == Race.Human) ? HumanArray : ElvenArray;
|
||||
|
||||
if ( m_From is PlayerMobile )
|
||||
if ( m_From is PlayerMobile pm )
|
||||
{
|
||||
PlayerMobile pm = (PlayerMobile)m_From;
|
||||
|
||||
pm.SetHairMods( -1, -1 ); // clear any hairmods (disguise kit, incognito)
|
||||
m_From.HairItemID = (m_From.Female) ? RacialData[info.ButtonID][2] : RacialData[info.ButtonID][3];
|
||||
pm.HairItemID = (pm.Female) ? RacialData[info.ButtonID][2] : RacialData[info.ButtonID][3];
|
||||
m_Deed.Delete();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue