diff options
| author | Shauren <shauren.trinity@gmail.com> | 2013-02-14 11:41:20 +0100 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2013-02-14 11:41:20 +0100 |
| commit | 944d7290ad68a401a31ad3bb5911248cbf6bf028 (patch) | |
| tree | 22ffab496d1fe7dc749aba9061364bc50698e1f6 /src/server/game/Entities/GameObject | |
| parent | ca280dbe051f2d9c43bbda128a6aa6bc19d8149f (diff) | |
Core/Loot: Minor change to previous commit, thanks Vincent_Michael for reminding me about this method in Map class
Diffstat (limited to 'src/server/game/Entities/GameObject')
| -rw-r--r-- | src/server/game/Entities/GameObject/GameObject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Entities/GameObject/GameObject.cpp b/src/server/game/Entities/GameObject/GameObject.cpp index 61e7943453e..c41c8e71a44 100644 --- a/src/server/game/Entities/GameObject/GameObject.cpp +++ b/src/server/game/Entities/GameObject/GameObject.cpp @@ -259,7 +259,7 @@ bool GameObject::Create(uint32 guidlow, uint32 name_id, Map* map, uint32 phaseMa AIM_Initialize(); // Initialize loot duplicate count depending on raid difficulty - if (map->IsRaid() && map->GetSpawnMode() & RAID_DIFFICULTY_MASK_25MAN) + if (map->Is25ManRaid()) loot.maxDuplicates = 3; return true; |
