Fixes implicit ternary expressions

This commit is contained in:
Kamron Batman 2018-09-14 14:56:48 -07:00
parent c85b0a740c
commit ff26dfa375
345 changed files with 1905 additions and 2336 deletions

View file

@ -54,9 +54,8 @@ namespace Server.Engines.Quests.Matriarch
*/
return 1054083;
}
else
{
/* <I>The Solen Matriarch smiles happily as she eats the seed you offered.</I><BR><BR>
/* <I>The Solen Matriarch smiles happily as she eats the seed you offered.</I><BR><BR>
*
* I think you for that seed. I was quite delicious. So full of flavor.<BR><BR>
*
@ -79,8 +78,7 @@ namespace Server.Engines.Quests.Matriarch
*
* Will you accept my offer?
*/
return 1054082;
}
return 1054082;
}
}
@ -128,8 +126,7 @@ namespace Server.Engines.Quests.Matriarch
{
if ( redSolen )
return player.SolenFriendship == SolenFriendship.Red;
else
return player.SolenFriendship == SolenFriendship.Black;
return player.SolenFriendship == SolenFriendship.Black;
}
public static bool GiveRewardTo( PlayerMobile player )
@ -141,11 +138,9 @@ namespace Server.Engines.Quests.Matriarch
player.SendLocalizedMessage( 1054076 ); // You have been given some gold.
return true;
}
else
{
gold.Delete();
return false;
}
gold.Delete();
return false;
}
}
}