mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 13:41:31 +00:00
[Bots] Missing boolean returns on DeletePetStats and SaveInspectMessage (#4031)
This commit is contained in:
parent
ae79022e06
commit
f98c79fdba
@ -1356,7 +1356,7 @@ bool BotDatabase::DeletePetStats(const uint32 bot_id)
|
||||
return true;
|
||||
}
|
||||
|
||||
BotPetsRepository::DeleteOne(database, saved_pet_index);
|
||||
return BotPetsRepository::DeleteOne(database, saved_pet_index) == 1;
|
||||
}
|
||||
|
||||
bool BotDatabase::LoadPetBuffs(const uint32 bot_id, SpellBuff_Struct* pet_buffs)
|
||||
@ -1630,6 +1630,7 @@ bool BotDatabase::SaveInspectMessage(const uint32 bot_id, const InspectMessage_S
|
||||
if (bot_message.size() > UINT8_MAX) {
|
||||
bot_message = bot_message.substr(0, UINT8_MAX);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
bool BotDatabase::DeleteInspectMessage(const uint32 bot_id)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user