mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-06 00:32:25 +00:00
& operand order of precedence warning fix
This commit is contained in:
parent
bc95a8a7ef
commit
96e51dabc5
@ -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;
|
||||
|
||||
|
||||
@ -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()))
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user