mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-06 00:32:25 +00:00
& operand precedent fix
This commit is contained in:
parent
5fef8b7828
commit
e6ecfadd2f
@ -155,7 +155,7 @@ int32 Client::LevelRegen()
|
|||||||
bool sitting = IsSitting();
|
bool sitting = IsSitting();
|
||||||
bool feigned = GetFeigned();
|
bool feigned = GetFeigned();
|
||||||
int level = GetLevel();
|
int level = GetLevel();
|
||||||
bool bonus = GetRaceBitmask(GetBaseRace()) & RuleI(Character, BaseHPRegenBonusRaces) != 0;
|
bool bonus = (GetRaceBitmask(GetBaseRace()) & RuleI(Character, BaseHPRegenBonusRaces)) != 0;
|
||||||
uint8 multiplier1 = bonus ? 2 : 1;
|
uint8 multiplier1 = bonus ? 2 : 1;
|
||||||
int32 hp = 0;
|
int32 hp = 0;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user