diff options
| author | Inifield <kaiosown@gmail.com> | 2017-09-30 13:06:38 +0200 |
|---|---|---|
| committer | Inifield <kaiosown@gmail.com> | 2017-09-30 13:06:38 +0200 |
| commit | a2957f53b09027d00a4d513fb8ff8ec4e6fd79d0 (patch) | |
| tree | 7b6671fe69abc9f75595191404a58ff1ad1ba2eb /src | |
| parent | b9e6faca6cb9e07678d2c87d48e11bf108c07ce2 (diff) | |
Fix mail system not sending all items
Diffstat (limited to 'src')
| -rw-r--r-- | src/game/Entities/Player/Player.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Entities/Player/Player.cpp b/src/game/Entities/Player/Player.cpp index c442a82acd..da82a0c6e2 100644 --- a/src/game/Entities/Player/Player.cpp +++ b/src/game/Entities/Player/Player.cpp @@ -18836,7 +18836,7 @@ void Player::_LoadMailAsynch(PreparedQueryResult result) m->state = MAIL_STATE_UNCHANGED; } - if (m && has_items && fields[12].GetUInt32() /*itemEntry*/) + if (m && fields[20].GetBool() /*has_items*/ && fields[12].GetUInt32() /*itemEntry*/) { uint32 itemGuid = fields[11].GetUInt32(); uint32 itemTemplate = fields[12].GetUInt32(); |
