[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 committed 2008-10-21 13:19:26 -05:00
1 parent 35f7512be9
commit b8e87bfc51
354 files changed
+88882 -88879

No files matched your search

+3
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())