Skip to content

Commit

Permalink
[9728] Correct icon for one option in default gossip menu
Browse files Browse the repository at this point in the history
Signed-off-by: NoFantasy <nofantasy@nf.no>
  • Loading branch information
NoFantasy committed Apr 11, 2010
1 parent 08c6e32 commit 8b7320a
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
4 changes: 2 additions & 2 deletions sql/mangos.sql
Expand Up @@ -24,7 +24,7 @@ CREATE TABLE `db_version` (
`version` varchar(120) default NULL,
`creature_ai_version` varchar(120) default NULL,
`cache_id` int(10) default '0',
`required_9720_01_mangos_spell_proc_event` bit(1) default NULL
`required_9728_01_mangos_gossip_menu_option` bit(1) default NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Used DB version notes';

--
Expand Down Expand Up @@ -1992,7 +1992,7 @@ INSERT INTO gossip_menu_option VALUES
(0,11,6,'GOSSIP_OPTION_AUCTIONEER', 13,0x200000,0,0,0,0,0,NULL,0,0,0,0,0,0,0,0,0),
(0,12,0,'GOSSIP_OPTION_STABLEPET', 14,0x400000,0,0,0,0,0,NULL,0,0,0,0,0,0,0,0,0),
(0,13,1,'GOSSIP_OPTION_ARMORER', 15,0x001000,0,0,0,0,0,NULL,0,0,0,0,0,0,0,0,0),
(0,14,2,'GOSSIP_OPTION_UNLEARNTALENTS', 16,0x000010,0,0,0,0,0,NULL,0,0,0,0,0,0,0,0,0),
(0,14,0,'GOSSIP_OPTION_UNLEARNTALENTS', 16,0x000010,0,0,0,0,0,NULL,0,0,0,0,0,0,0,0,0),
(0,15,2,'GOSSIP_OPTION_UNLEARNPETSKILLS',17,0x000010,0,0,0,0,0,NULL,0,0,0,0,0,0,0,0,0);
/*!40000 ALTER TABLE `gossip_menu_option` ENABLE KEYS */;
UNLOCK TABLES;
Expand Down
3 changes: 3 additions & 0 deletions sql/updates/9728_01_mangos_gossip_menu_option.sql
@@ -0,0 +1,3 @@
ALTER TABLE db_version CHANGE COLUMN required_9720_01_mangos_spell_proc_event required_9728_01_mangos_gossip_menu_option bit;

UPDATE gossip_menu_option SET option_icon=0 WHERE menu_id=0 AND option_id=16;
2 changes: 2 additions & 0 deletions sql/updates/Makefile.am
Expand Up @@ -115,6 +115,7 @@ pkgdata_DATA = \
9716_01_mangos_npc_vendor.sql \
9716_02_mangos_mangos_string.sql \
9720_01_mangos_spell_proc_event.sql \
9728_01_mangos_gossip_menu_option.sql \
README

## Additional files to include when running 'make dist'
Expand Down Expand Up @@ -210,4 +211,5 @@ EXTRA_DIST = \
9716_01_mangos_npc_vendor.sql \
9716_02_mangos_mangos_string.sql \
9720_01_mangos_spell_proc_event.sql \
9728_01_mangos_gossip_menu_option.sql \
README
2 changes: 1 addition & 1 deletion src/shared/revision_nr.h
@@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "9727"
#define REVISION_NR "9728"
#endif // __REVISION_NR_H__
2 changes: 1 addition & 1 deletion src/shared/revision_sql.h
@@ -1,6 +1,6 @@
#ifndef __REVISION_SQL_H__
#define __REVISION_SQL_H__
#define REVISION_DB_CHARACTERS "required_9702_01_characters_item"
#define REVISION_DB_MANGOS "required_9720_01_mangos_spell_proc_event"
#define REVISION_DB_MANGOS "required_9728_01_mangos_gossip_menu_option"
#define REVISION_DB_REALMD "required_9010_01_realmd_realmlist"
#endif // __REVISION_SQL_H__

0 comments on commit 8b7320a

Please sign in to comment.