diff options
Diffstat (limited to 'src/server/game/Chat/Chat.cpp')
-rw-r--r-- | src/server/game/Chat/Chat.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/server/game/Chat/Chat.cpp b/src/server/game/Chat/Chat.cpp index 9ee79281e5a..0fa2c91befb 100644 --- a/src/server/game/Chat/Chat.cpp +++ b/src/server/game/Chat/Chat.cpp @@ -1200,14 +1200,14 @@ valid examples: std::istringstream reader(message); char buffer[256]; - uint32 color; - - ItemPrototype const* linkedItem; - Quest const* linkedQuest; - SpellEntry const *linkedSpell; - AchievementEntry const* linkedAchievement; - ItemRandomPropertiesEntry const* itemProperty; - ItemRandomSuffixEntry const* itemSuffix; + uint32 color = 0; + + ItemPrototype const* linkedItem = NULL; + Quest const* linkedQuest = NULL; + SpellEntry const *linkedSpell = NULL; + AchievementEntry const* linkedAchievement = NULL; + ItemRandomPropertiesEntry const* itemProperty = NULL; + ItemRandomSuffixEntry const* itemSuffix = NULL; while (!reader.eof()) { |