server/sql/updates/7644_01_characters_character_pet.sql
VladimirMangos 263bf2ab22 [7644] Fixed pet slot values using in pet save.
Problem exist from client version switch when stable slot amount changed.
In result this has been source problems with stable use (3-4 slots) and possible pet lost in some cases
or "not save state" for summoned pets.
Use enums to avoid repeating problem, use more safe value for not-in-slot save (for summoned pets)
Fixed data preparing for MSG_LIST_STABLED_PETS.
2009-04-10 09:02:04 +04:00

5 lines
259 B
SQL

ALTER TABLE character_db_version CHANGE COLUMN required_7546_01_characters_uptime required_7644_01_characters_character_pet bit;
/* only hunter pets must be in stable */
UPDATE `character_pet`
SET slot = 100 WHERE PetType <> 1 AND slot >= 1 AND slot <= 4;