[Bots] Move all spell_id instances to uint16 (#4876)

* [Bots] Move all spell_id instances to uint16

* Alignment
This commit is contained in:
nytmyr
2025-05-14 19:58:18 -05:00
committed by GitHub
parent f3697e633c
commit 780120036d
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -68,7 +68,7 @@ struct BotSpellSetting {
struct BotSpells {
uint32 type; // 0 = never, must be one (and only one) of the defined values
int16 spellid; // <= 0 = no spell
uint16 spellid; // <= 0 = no spell
int16 manacost; // -1 = use spdat, -2 = no cast time
uint32 time_cancast; // when we can cast this spell next
int32 recast_delay;
@@ -86,7 +86,7 @@ struct BotSpells {
struct BotSpells_wIndex {
uint32 index; //index of AIBot_spells
uint32 type; // 0 = never, must be one (and only one) of the defined values
int16 spellid; // <= 0 = no spell
uint16 spellid; // <= 0 = no spell
int16 manacost; // -1 = use spdat, -2 = no cast time
uint32 time_cancast; // when we can cast this spell next
int32 recast_delay;