mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
[Build] Most errors fixed
This commit is contained in:
parent
868302dd0b
commit
778052084e
70 changed files with 619 additions and 602 deletions
|
|
@ -575,7 +575,7 @@ void Pet::RegenerateAll(uint32 update_diff)
|
|||
break;
|
||||
}
|
||||
|
||||
if (!isInCombat() || IsPolymorphed())
|
||||
if (!IsInCombat() || IsPolymorphed())
|
||||
RegenerateHealth();
|
||||
|
||||
RegenerateMana();
|
||||
|
|
@ -750,7 +750,7 @@ void Pet::GivePetXP(uint32 xp)
|
|||
if (xp < 1)
|
||||
return;
|
||||
|
||||
if (!isAlive())
|
||||
if (!IsAlive())
|
||||
return;
|
||||
|
||||
uint32 level = getLevel();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue