mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-28 17:37:18 +00:00
& operand order of precedence warning fix
This commit is contained in:
+1
-1
@@ -10477,7 +10477,7 @@ void Bot::CalcRestState() {
|
|||||||
int32 Bot::LevelRegen()
|
int32 Bot::LevelRegen()
|
||||||
{
|
{
|
||||||
int level = GetLevel();
|
int level = GetLevel();
|
||||||
bool bonus = GetRaceBitmask(_baseRace) & RuleI(Character, BaseHPRegenBonusRaces) != 0;
|
bool bonus = (GetRaceBitmask(_baseRace) & RuleI(Character, BaseHPRegenBonusRaces)) != 0;
|
||||||
uint8 multiplier1 = bonus ? 2 : 1;
|
uint8 multiplier1 = bonus ? 2 : 1;
|
||||||
int32 hp = 0;
|
int32 hp = 0;
|
||||||
|
|
||||||
|
|||||||
@@ -4010,7 +4010,7 @@ void Client::Handle_OP_GuildManageBanker(const EQApplicationPacket *app)
|
|||||||
|
|
||||||
bool NewBankerStatus = gmb->enabled & 0x01;
|
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()))
|
if((IsCurrentlyABanker != NewBankerStatus) && !guild_mgr.IsGuildLeader(GuildID(), CharacterID()))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user