[8413] Fixed lost 0 in comment and swap enum elemys for better fit to 0.12 cases.

This commit is contained in:
VladimirMangos 2009-08-24 05:08:02 +04:00
parent 261ad1c5df
commit b91da7846e
2 changed files with 6 additions and 6 deletions

View file

@ -43,7 +43,7 @@
// |color|Hgameobject:go_guid|h[name]|h|r // |color|Hgameobject:go_guid|h[name]|h|r
// |color|Hgameobject_entry:go_id|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|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 // - client, item icon shift click
// |color|Hitemset:itemset_id|h[name]|h|r // |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 // |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_SPELL = 0,
SPELL_LINK_TALENT = 1, SPELL_LINK_TALENT = 1,
SPELL_LINK_TRADE = 2, SPELL_LINK_ENCHANT = 2,
SPELL_LINK_ENCHANT = 3, SPELL_LINK_TRADE = 3,
SPELL_LINK_GLYPH = 4 SPELL_LINK_GLYPH = 4
}; };
@ -1373,8 +1373,8 @@ static char const* const spellKeys[] =
{ {
"Hspell", // normal spell "Hspell", // normal spell
"Htalent", // talent spell "Htalent", // talent spell
"Htrade", // profession/skill spell
"Henchant", // enchanting recipe spell "Henchant", // enchanting recipe spell
"Htrade", // profession/skill spell
"Hglyph", // glyph "Hglyph", // glyph
0 0
}; };
@ -1414,8 +1414,8 @@ uint32 ChatHandler::extractSpellIdFromLink(char* text)
return talentEntry->RankID[rank]; return talentEntry->RankID[rank];
} }
case SPELL_LINK_TRADE:
case SPELL_LINK_ENCHANT: case SPELL_LINK_ENCHANT:
case SPELL_LINK_TRADE:
return id; return id;
case SPELL_LINK_GLYPH: case SPELL_LINK_GLYPH:
{ {

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "8412" #define REVISION_NR "8413"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__