Core/Objects:
*merged 3.3.5 renaming of GetObjectSize() to GetCombatReach() *made GetBoundaryRadius virtual and use it to determine the actual spell radius distance with it instead of using CombatReach
This commit is contained in:
1 parent
3f03415073
commit
0d46b893fc
23 files changed
+71
-75
No files matched your search
@@ -953,7 +953,7 @@ public:
|
||||
uint32 entry = (uint32)atoi(e);
|
||||
|
||||
float x, y, z, o = handler->GetSession()->GetPlayer()->GetOrientation();
|
||||
handler->GetSession()->GetPlayer()->GetClosePoint(x, y, z, handler->GetSession()->GetPlayer()->GetObjectSize());
|
||||
handler->GetSession()->GetPlayer()->GetClosePoint(x, y, z, handler->GetSession()->GetPlayer()->GetCombatReach());
|
||||
|
||||
if (!i)
|
||||
return handler->GetSession()->GetPlayer()->SummonCreature(entry, x, y, z, o) != nullptr;
|
||||
|
||||
Reference in new issue
Block a user