fix AA loading and expansionbitmask saving/loading

This commit is contained in:
nytmyr
2024-12-01 20:36:27 -06:00
parent 867771e76b
commit 962e2d80b9
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -2294,7 +2294,7 @@ bool BotDatabase::SaveBotSettings(Mob* m)
if (m->IsBot()) {
uint8 botStance = m->CastToBot()->GetBotStance();
for (uint16 i = BotBaseSettings::START; i <= BotBaseSettings::END; ++i) {
for (uint16 i = BotBaseSettings::START_ALL; i <= BotBaseSettings::END; ++i) {
if (m->CastToBot()->GetBotBaseSetting(i) != m->CastToBot()->GetDefaultBotBaseSetting(i, botStance)) {
auto e = BotSettingsRepository::BotSettings{
.char_id = charID,