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:
Trazom62 committed 2010-05-05 12:40:52 +02:00
1 parent 3199e7b8db
commit eee3ebe6d6
6 files changed
+13 -11

No files matched your search

+2
View File
@@ -0,0 +1,2 @@
ALTER TABLE `groups` CHANGE `isRaid` `groupType` MEDIUMINT(8) UNSIGNED NOT NULL;
UPDATE `groups` SET `groupType`=2 where `groupType`=1;