diff options
author | megamage <none@none> | 2008-12-21 15:15:48 -0600 |
---|---|---|
committer | megamage <none@none> | 2008-12-21 15:15:48 -0600 |
commit | ca2b3b3d15ac1613d009248b28a126b48ea6b11b (patch) | |
tree | 511b594462bb6101eaee6ddadb919ada157db14b /src | |
parent | 1759a7cf5cc7ca5bdcd6c28041ab46a2b143e5d3 (diff) |
*Fix broken stealth.
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/game/Unit.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 48cda18893d..e956557ff2a 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -9982,7 +9982,10 @@ void Unit::SetVisibility(UnitVisibility x) VisitNearbyWorldObject(World::GetMaxVisibleDistance(), searcher); for(std::list<Unit*>::iterator iter = targets.begin(); iter != targets.end(); ++iter) if((*iter)->GetTypeId() == TYPEID_PLAYER) + { + DestroyForPlayer((Player*)(*iter)); ((Player*)(*iter))->m_clientGUIDs.erase(GetGUID()); + } } /*{ Map *m = GetMap(); |