mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 10:37:02 +00:00
[7419] Fixed some type convertion warnings.
This commit is contained in:
parent
bf718ea961
commit
4dad8f40d0
4 changed files with 19 additions and 15 deletions
|
|
@ -3108,7 +3108,7 @@ void Aura::HandleModPossessPet(bool apply, bool Real)
|
|||
else
|
||||
pet->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_UNK_24);
|
||||
|
||||
((Player*)caster)->SetFarSightGUID(apply ? pet->GetGUID() : NULL);
|
||||
((Player*)caster)->SetFarSightGUID(apply ? pet->GetGUID() : 0);
|
||||
((Player*)caster)->SetCharm(apply ? pet : NULL);
|
||||
((Player*)caster)->SetClientControl(pet, apply ? 1 : 0);
|
||||
|
||||
|
|
@ -4181,7 +4181,7 @@ void Aura::HandleAuraPeriodicDummy(bool apply, bool Real)
|
|||
{
|
||||
// Explosive Shot
|
||||
if (apply && !loading && caster)
|
||||
m_modifier.m_amount +=caster->GetTotalAttackPowerValue(RANGED_ATTACK) * 8 / 100;
|
||||
m_modifier.m_amount += int32(caster->GetTotalAttackPowerValue(RANGED_ATTACK) * 8 / 100);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue