mirror of
https://github.com/araxiaonline/TrinityCore2.git
synced 2026-06-17 05:19:40 -04:00
[8098] Support uint32 spell ids in code. Author: VladimirMangos
* Propertly work with uint32 spell ids in player action bar
* Fix in same time bug with not save equipment set button with id==0
* Merge misc field in character_action and playercreateinfo_action to action field as 3 byte
* Propertly load uint32 spell ids from character_spell
* Fixed types for some pet/creature related structure for spell id storing.
--HG--
branch : trunk
11 lines
361 B
SQL
11 lines
361 B
SQL
-- ALTER TABLE db_version CHANGE COLUMN required_8071_01_mangos_command required_8098_02_mangos_playercreateinfo_action bit;
|
|
|
|
ALTER TABLE playercreateinfo_action
|
|
CHANGE COLUMN action action int(11) unsigned NOT NULL default '0';
|
|
|
|
UPDATE playercreateinfo_action
|
|
SET action = action | ( misc < 16 );
|
|
|
|
ALTER TABLE playercreateinfo_action
|
|
DROP COLUMN misc;
|