mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 13:37:00 +00:00
[8107] Fixed sql queries included in [8098].
Old version break stored action spell ids, but this is not critical damage so restore data at applied damage not done in fix. But it will fix errors at new characters creating. Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
8089b3bc91
commit
fbfbdf6d13
3 changed files with 3 additions and 3 deletions
|
|
@ -4,7 +4,7 @@ ALTER TABLE character_action
|
|||
CHANGE COLUMN action action int(11) unsigned NOT NULL default '0';
|
||||
|
||||
UPDATE character_action
|
||||
SET action = action | ( misc < 16 );
|
||||
SET action = action | ( misc << 16 );
|
||||
|
||||
ALTER TABLE character_action
|
||||
DROP COLUMN misc;
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ ALTER TABLE playercreateinfo_action
|
|||
CHANGE COLUMN action action int(11) unsigned NOT NULL default '0';
|
||||
|
||||
UPDATE playercreateinfo_action
|
||||
SET action = action | ( misc < 16 );
|
||||
SET action = action | ( misc << 16 );
|
||||
|
||||
ALTER TABLE playercreateinfo_action
|
||||
DROP COLUMN misc;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "8106"
|
||||
#define REVISION_NR "8107"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue