*Update to Mangos 7151.

--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-01-22 22:44:27 -06:00
1 parent 4230318f96
commit ab4b9160f2
46 files changed
+669 -270

No files matched your search

+2 -2
View File
@@ -425,9 +425,9 @@ void BattleGroundAB::_NodeDeOccupied(uint8 node)
{
WorldSafeLocsEntry const *ClosestGrave = NULL;
Player *plr;
for (std::vector<uint64>::iterator itr = ghost_list.begin(); itr != ghost_list.end(); ++itr)
for (std::vector<uint64>::const_iterator itr = ghost_list.begin(); itr != ghost_list.end(); ++itr)
{
plr = objmgr.GetPlayer(*ghost_list.begin());
plr = objmgr.GetPlayer(*itr);
if( !plr )
continue;
if( !ClosestGrave )