Fix for BotDatabase::SaveEquipmentColor crash

This commit is contained in:
Uleat 2016-08-31 23:02:16 -04:00
parent d8fe5124ff
commit 159ba9f487

View File

@ -1317,8 +1317,8 @@ bool BotDatabase::SaveEquipmentColor(const uint32 bot_id, const int16 slot_id, c
" WHERE `bot_id` = '%u'"
" %s",
rgb,
where_clause.c_str(),
bot_id
bot_id,
where_clause.c_str()
);
auto results = QueryDatabase(query);
if (!results.Success())