diff options
author | megamage <none@none> | 2009-08-29 14:58:45 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-08-29 14:58:45 -0500 |
commit | 2a4c9bcaf910430cdf3070987ce085da3c2666da (patch) | |
tree | a9498395a05c8306726142a8dea856bb79f173d2 /src/game/Spell.h | |
parent | 3aabef53ee48e67596d2920cbbc17b9e2238a2cc (diff) |
*Make position as a class;
--HG--
branch : trunk
Diffstat (limited to 'src/game/Spell.h')
-rw-r--r-- | src/game/Spell.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/game/Spell.h b/src/game/Spell.h index c9018ee7b53..b6aab83bea8 100644 --- a/src/game/Spell.h +++ b/src/game/Spell.h @@ -637,8 +637,8 @@ class Spell void SpellDamageWeaponDmg(uint32 i); void SpellDamageHeal(uint32 i); - void GetSummonPosition(uint32 i, float &x, float &y, float &z, float radius = 0.0f, uint32 count = 0); - void SummonGuardian (uint32 entry, SummonPropertiesEntry const *properties); + void GetSummonPosition(uint32 i, Position &pos, float radius = 0.0f, uint32 count = 0); + void SummonGuardian(uint32 i, uint32 entry, SummonPropertiesEntry const *properties); SpellCastResult CanOpenLock(uint32 effIndex, uint32 lockid, SkillType& skillid, int32& reqSkillValue, int32& skillValue); // ------------------------------------------- @@ -756,11 +756,11 @@ namespace Trinity i_data->push_back(target); break; case PUSH_IN_LINE: - if(i_source->isInLine(target, i_radius, i_source->GetObjectSize())) + if(i_source->IsInLine(target, i_radius, i_source->GetObjectSize())) i_data->push_back(target); break; case PUSH_IN_THIN_LINE: - if(i_source->isInLine(target, i_radius, 0)) + if(i_source->IsInLine(target, i_radius, 0)) i_data->push_back(target); break; } |