Add detailed crash info when aura owner is not in the same map as target in Aura::UpdateTargetMap.
This commit is contained in:
@@ -250,12 +250,9 @@ void ObjectAccessor::AddCorpsesToGrid(GridCoord const& gridpair, GridType& grid,
|
||||
|
||||
for (Player2CorpsesMapType::iterator iter = i_player2corpse.begin(); iter != i_player2corpse.end(); ++iter)
|
||||
{
|
||||
// We need this check otherwise a corpose may be added to a grid twice
|
||||
if (iter->second->IsInGrid())
|
||||
{
|
||||
//TODO: add this assert later
|
||||
//ASSERT(iter->second->GetGridCoord() == gridpair);
|
||||
continue;
|
||||
}
|
||||
|
||||
if (iter->second->GetGridCoord() == gridpair)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user