mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 23:50:44 +01:00
Fix raid groups load from DB and save to DB.
Fixes issue #299. - In table GROUPS, since rev 7841, isRaid is used to store the groupType. The DB was not updated. this is now fixed. - Fix isRaid set to 1 when group converted to raid (shall be the groupType). - Fix isRaidGroup check as groupType is now a set of flags. - Fix dungeon/raid check when difficulty change. --HG-- branch : trunk
This commit is contained in:
@@ -1360,7 +1360,7 @@ CREATE TABLE `groups` (
|
||||
`icon6` int(11) unsigned NOT NULL,
|
||||
`icon7` int(11) unsigned NOT NULL,
|
||||
`icon8` int(11) unsigned NOT NULL,
|
||||
`isRaid` tinyint(1) unsigned NOT NULL,
|
||||
`groupType` mediumint(8) unsigned NOT NULL,
|
||||
`difficulty` tinyint(3) unsigned NOT NULL default '0',
|
||||
`raiddifficulty` int(11) UNSIGNED NOT NULL default '0',
|
||||
PRIMARY KEY (`leaderGuid`)
|
||||
|
||||
Reference in New Issue
Block a user