[10228] Missing send packet in empty vendor item list case.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
Timawyn 2010-07-19 23:34:20 +04:00 committed by VladimirMangos
parent e8f18b1606
commit 6b0746b49b
2 changed files with 2 additions and 1 deletions

View file

@ -744,6 +744,7 @@ void WorldSession::SendListInventory(uint64 vendorguid)
data << uint64(vendorguid);
data << uint8(0); // count==0, next will be error code
data << uint8(0); // "Vendor has no inventory"
SendPacket(&data);
return;
}