mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 13:41:31 +00:00
Fix for BotDatabase::SaveEquipmentColor crash
This commit is contained in:
parent
d8fe5124ff
commit
159ba9f487
@ -1317,8 +1317,8 @@ bool BotDatabase::SaveEquipmentColor(const uint32 bot_id, const int16 slot_id, c
|
|||||||
" WHERE `bot_id` = '%u'"
|
" WHERE `bot_id` = '%u'"
|
||||||
" %s",
|
" %s",
|
||||||
rgb,
|
rgb,
|
||||||
where_clause.c_str(),
|
bot_id,
|
||||||
bot_id
|
where_clause.c_str()
|
||||||
);
|
);
|
||||||
auto results = QueryDatabase(query);
|
auto results = QueryDatabase(query);
|
||||||
if (!results.Success())
|
if (!results.Success())
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user