Core/Pets: Change PET_SAVE_NOT_IN_SLOT constant from 100 to -1 to truly avoid conflicts when growing stable size and change PET_SAVE_AS_DELETED from -1 to -2

This commit is contained in:
Shauren
2022-01-31 21:50:32 +01:00
parent 8349444749
commit 22e823b5f9
3 changed files with 10 additions and 5 deletions

View File

@@ -0,0 +1,3 @@
ALTER TABLE `character_pet` CHANGE `slot` `slot` smallint NOT NULL DEFAULT '-1';
UPDATE `character_pet` SET `slot` = -1 WHERE `slot` = 100;