Merge pull request #2 from fraga/fixCS0165
If it makes Mono happy, why not? Fix compile error CS0165 on Mono
This commit is contained in:
commit
07921356d4
1 changed files with 2 additions and 2 deletions
|
|
@ -64,10 +64,10 @@ namespace Server.Engines.BulkOrders
|
|||
public static SmallTailorBOD CreateRandomFor( Mobile m )
|
||||
{
|
||||
SmallBulkEntry[] entries;
|
||||
bool useMaterials;
|
||||
bool useMaterials = Utility.RandomBool();
|
||||
|
||||
double theirSkill = m.Skills[SkillName.Tailoring].Base;
|
||||
if ( useMaterials = Utility.RandomBool() && theirSkill >= 6.2 ) // Ugly, but the easiest leather BOD is Leather Cap which requires at least 6.2 skill.
|
||||
if ( useMaterials && theirSkill >= 6.2 ) // Ugly, but the easiest leather BOD is Leather Cap which requires at least 6.2 skill.
|
||||
entries = SmallBulkEntry.TailorLeather;
|
||||
else
|
||||
entries = SmallBulkEntry.TailorCloth;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue