Adds style cop (#109)
This commit is contained in:
parent
3e715bcb60
commit
556a17aba8
1725 changed files with 33831 additions and 38046 deletions
|
|
@ -149,8 +149,8 @@ namespace Server.Items
|
|||
|
||||
private class FacingGump : Gump
|
||||
{
|
||||
private FirefliesDeed m_Deed;
|
||||
private Mobile m_Placer;
|
||||
private readonly FirefliesDeed m_Deed;
|
||||
private readonly Mobile m_Placer;
|
||||
|
||||
public FacingGump(FirefliesDeed deed, Mobile player)
|
||||
: base(150, 50)
|
||||
|
|
@ -202,8 +202,8 @@ namespace Server.Items
|
|||
|
||||
private class InternalTarget : Target
|
||||
{
|
||||
private FirefliesDeed m_FirefliesDeed;
|
||||
private int m_ItemID;
|
||||
private readonly FirefliesDeed m_FirefliesDeed;
|
||||
private readonly int m_ItemID;
|
||||
|
||||
public InternalTarget(FirefliesDeed m_Deed, int itemid)
|
||||
: base(-1, true, TargetFlags.None)
|
||||
|
|
@ -243,7 +243,7 @@ namespace Server.Items
|
|||
|
||||
bool isclear = !Map.Malas.GetItemsInRange(p3d, 0).OfType<Fireflies>().Any();
|
||||
|
||||
if ((m_ItemID == 0x2336 && north || m_ItemID == 0x2332 && west) && isclear)
|
||||
if (((m_ItemID == 0x2336 && north) || (m_ItemID == 0x2332 && west)) && isclear)
|
||||
{
|
||||
Fireflies flies = new Fireflies(m_ItemID);
|
||||
|
||||
|
|
@ -253,7 +253,6 @@ namespace Server.Items
|
|||
|
||||
m_FirefliesDeed.Delete();
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
from.SendLocalizedMessage(1150065); // Holiday fireflies must be placed next to a wall.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue