[svn] * Prevent Cheating at logout/login by players. Thank you Visagalis

* Set scripts to eol style native

--HG--
branch : trunk
This commit is contained in:
KingPin
2008-10-21 13:19:26 -05:00
parent 35f7512be9
commit b8e87bfc51
354 changed files with 88882 additions and 88879 deletions

View File

@@ -246,6 +246,9 @@ void WorldSession::LogoutPlayer(bool Save)
if (_player)
{
if (uint64 lguid = GetPlayer()->GetLootGUID())
DoLootRelease(lguid);
///- If the player just died before logging out, make him appear as a ghost
//FIXME: logout must be delayed in case lost connection with client in time of combat
if (_player->GetDeathTimer())