Show
Ignore:
Timestamp:
11/22/08 01:55:16 (17 years ago)
Author:
yumileroy
Message:

*Alterac Valley. By Bogie and Balrok. Note: some core contents are modified. Will fix them later. Some sql are disabled because of possible conflict with offical DB. Use them at your own risk.

Original author: megamage
Date: 2008-11-21 19:45:49-06:00

Files:
1 modified

Legend:

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

    r102 r283  
    7070 
    7171        loot = &pItem->loot; 
     72    } 
     73    else if (IS_CORPSE_GUID(lguid)) 
     74    { 
     75        Corpse *bones = ObjectAccessor::GetCorpse(*player, lguid); 
     76        if (!bones) 
     77        { 
     78            player->SendLootRelease(lguid); 
     79            return; 
     80        } 
     81        loot = &bones->loot; 
    7282    } 
    7383    else