& operand order of precedence warning fix

This commit is contained in:
Arthur Dene Ice 2014-05-09 19:39:20 -07:00
parent bc95a8a7ef
commit 96e51dabc5
2 changed files with 2 additions and 2 deletions

View File

@ -10477,7 +10477,7 @@ void Bot::CalcRestState() {
int32 Bot::LevelRegen()
{
int level = GetLevel();
bool bonus = GetRaceBitmask(_baseRace) & RuleI(Character, BaseHPRegenBonusRaces) != 0;
bool bonus = (GetRaceBitmask(_baseRace) & RuleI(Character, BaseHPRegenBonusRaces)) != 0;
uint8 multiplier1 = bonus ? 2 : 1;
int32 hp = 0;

View File

@ -4010,7 +4010,7 @@ void Client::Handle_OP_GuildManageBanker(const EQApplicationPacket *app)
bool NewBankerStatus = gmb->enabled & 0x01;
bool NewAltStatus = gmb->enabled & 0x02 != 0;
bool NewAltStatus = (gmb->enabled & 0x02) != 0;
if((IsCurrentlyABanker != NewBankerStatus) && !guild_mgr.IsGuildLeader(GuildID(), CharacterID()))
{