diff options
| author | megamage <none@none> | 2009-01-08 22:12:09 -0600 |
|---|---|---|
| committer | megamage <none@none> | 2009-01-08 22:12:09 -0600 |
| commit | ea0421919a86e3d803a86d78c102c1a2567630a1 (patch) | |
| tree | 9db1ac1075141ad0e864f570f014f60740fbeddc /src/game/WorldSession.cpp | |
| parent | 2377f49ea86b5c6a7f29b5d1949cd90b1594b660 (diff) | |
*Try to fix the bug of visibility update.
--HG--
branch : trunk
Diffstat (limited to 'src/game/WorldSession.cpp')
| -rw-r--r-- | src/game/WorldSession.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/WorldSession.cpp b/src/game/WorldSession.cpp index eb2612a1543..c3ec18ae1b7 100644 --- a/src/game/WorldSession.cpp +++ b/src/game/WorldSession.cpp @@ -255,6 +255,8 @@ void WorldSession::LogoutPlayer(bool Save) // Remove any possession of this player on logout _player->RemoveCharmedOrPossessedBy(NULL); + _player->DestroyForNearbyPlayers(); + if (uint64 lguid = GetPlayer()->GetLootGUID()) DoLootRelease(lguid); |
