aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Server/Packets
diff options
context:
space:
mode:
authorEpicurus4 <maxmakki2@gmail.com>2015-03-12 23:42:26 -0400
committerEpicurus4 <maxmakki2@gmail.com>2015-03-12 23:42:26 -0400
commita860c62fed3a1670488cb256788c5efe4467c19a (patch)
tree4fbb5d653baf8b32dd38a3098b6028f5ea1a6a2c /src/server/game/Server/Packets
parent5feee1e69b0f64d3f76891e12e1f83a5f85b3931 (diff)
Core/Loot: Update and enable SMSG_LOOT_RESPONSE
Also correct SMSG_NOTIFICATION initializaiton.
Diffstat (limited to 'src/server/game/Server/Packets')
-rw-r--r--src/server/game/Server/Packets/ChatPackets.h3
-rw-r--r--src/server/game/Server/Packets/LootPackets.h4
2 files changed, 3 insertions, 4 deletions
diff --git a/src/server/game/Server/Packets/ChatPackets.h b/src/server/game/Server/Packets/ChatPackets.h
index 29679d2c25c..54634e64b92 100644
--- a/src/server/game/Server/Packets/ChatPackets.h
+++ b/src/server/game/Server/Packets/ChatPackets.h
@@ -200,8 +200,7 @@ namespace WorldPackets
class PrintNotification final : public ServerPacket
{
public:
- PrintNotification() : ServerPacket(SMSG_NOTIFICATION, 3) { }
- PrintNotification(std::string const& notifyText) : ServerPacket(SMSG_NOTIFICATION, 3), NotifyText(notifyText) { }
+ PrintNotification(std::string const& notifyText) : ServerPacket(SMSG_NOTIFICATION, 2 + notifyText.size()), NotifyText(notifyText) { }
WorldPacket const* Write() override;
diff --git a/src/server/game/Server/Packets/LootPackets.h b/src/server/game/Server/Packets/LootPackets.h
index 02e367b1fd7..f176c76f87a 100644
--- a/src/server/game/Server/Packets/LootPackets.h
+++ b/src/server/game/Server/Packets/LootPackets.h
@@ -38,8 +38,8 @@ namespace WorldPackets
struct LootItem
{
- uint8 Type = 0;
- uint8 UIType = 0;
+ uint8 Type = 2;
+ uint8 UIType = 4;
uint32 Quantity = 0;
uint8 LootItemType = 0;
uint8 LootListID = 0;