Changeset 90

Show
Ignore:
Timestamp:
11/19/08 13:34:32 (17 years ago)
Author:
yumileroy
Message:

[svn] * Prevent Cheating at logout/login by players. Thank you Visagalis
* Set scripts to eol style native

Original author: KingPin?
Date: 2008-10-21 13:19:26-05:00

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/game/WorldSession.cpp

    r78 r90  
    247247    if (_player) 
    248248    { 
     249        if (uint64 lguid = GetPlayer()->GetLootGUID()) 
     250            DoLootRelease(lguid); 
     251             
    249252        ///- If the player just died before logging out, make him appear as a ghost 
    250253        //FIXME: logout must be delayed in case lost connection with client in time of combat