[11424] Cleanups and fixes in FillAreaTargets

* Drop redundent and possible conflicting center point coordinates in FillAreaTargets/SpellNotifierCreatureAndPlayer call.
* Calculate proper coordinates base at PUSH_* and spell data in SpellNotifierCreatureAndPlayer
  and provide its to Cell::VisitAllObjects also for use sync values in both.
* Use castingObject coordinates as caster in SpellNotifierCreatureAndPlayer that fix some GO casting cases.

Thanks to SeTM for original problem research.
This commit is contained in:
VladimirMangos 2011-05-03 00:51:58 +04:00
parent b997f4925d
commit 30aae7b14e
3 changed files with 65 additions and 30 deletions

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "11423"
#define REVISION_NR "11424"
#endif // __REVISION_NR_H__