diff options
author | megamage <none@none> | 2009-08-24 20:31:48 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-08-24 20:31:48 -0500 |
commit | a8f394f8510797e60e93a22ed409d860579ad76b (patch) | |
tree | ebb4b2df8bc8c860d11ecea1a486cf5e84bcc361 | |
parent | 5df31bd4b3fddf35a884e3608210be25d4e94b9f (diff) |
[8413] Fixed lost 0 in comment and swap enum elemys for better fit to 0.12 cases. Author: VladimirMangos
--HG--
branch : trunk
-rw-r--r-- | src/game/Chat.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/game/Chat.cpp b/src/game/Chat.cpp index 999440b0538..a06bcf27fdd 100644 --- a/src/game/Chat.cpp +++ b/src/game/Chat.cpp @@ -46,7 +46,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 @@ -1487,8 +1487,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 }; @@ -1496,8 +1496,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 }; @@ -1537,8 +1537,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: { |