From b91da7846ebff38859a6babb906e18b0bb78026e Mon Sep 17 00:00:00 2001 From: VladimirMangos Date: Mon, 24 Aug 2009 05:08:02 +0400 Subject: [PATCH] [8413] Fixed lost 0 in comment and swap enum elemys for better fit to 0.12 cases. --- src/game/Chat.cpp | 10 +++++----- src/shared/revision_nr.h | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/game/Chat.cpp b/src/game/Chat.cpp index 91406678b..c674e4ad8 100644 --- a/src/game/Chat.cpp +++ b/src/game/Chat.cpp @@ -43,7 +43,7 @@ // |color|Hgameobject:go_guid|h[name]|h|r // |color|Hgameobject_entry:go_id|h[name]|h|r // |color|Hglyph:glyph_slot_id:glyph_prop_id|h[%s]|h|r - client, at shift click in glyphs dialog, GlyphSlot.dbc, GlyphProperties.dbc -// |color|Hitem:item_id:perm_ench_id:gem1:gem2:gem3:0:0:0:reporter_level|h[name]|h|r +// |color|Hitem:item_id:perm_ench_id:gem1:gem2:gem3:0:0:0:0:reporter_level|h[name]|h|r // - client, item icon shift click // |color|Hitemset:itemset_id|h[name]|h|r // |color|Hplayer:name|h[name]|h|r - client, in some messages, at click copy only name instead link @@ -1364,8 +1364,8 @@ enum SpellLinkType { SPELL_LINK_SPELL = 0, SPELL_LINK_TALENT = 1, - SPELL_LINK_TRADE = 2, - SPELL_LINK_ENCHANT = 3, + SPELL_LINK_ENCHANT = 2, + SPELL_LINK_TRADE = 3, SPELL_LINK_GLYPH = 4 }; @@ -1373,8 +1373,8 @@ static char const* const spellKeys[] = { "Hspell", // normal spell "Htalent", // talent spell - "Htrade", // profession/skill spell "Henchant", // enchanting recipe spell + "Htrade", // profession/skill spell "Hglyph", // glyph 0 }; @@ -1414,8 +1414,8 @@ uint32 ChatHandler::extractSpellIdFromLink(char* text) return talentEntry->RankID[rank]; } - case SPELL_LINK_TRADE: case SPELL_LINK_ENCHANT: + case SPELL_LINK_TRADE: return id; case SPELL_LINK_GLYPH: { diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 1be4931cf..6520bedb0 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "8412" + #define REVISION_NR "8413" #endif // __REVISION_NR_H__