mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-29 14:01:29 +00:00
[Bots] Fix bot spawn when bot id = char_id (#1984)
* Fix for GENERIC_9_STRINGS * Update .gitignore * Fixed query for use case when char_id of owner equals a bot_id * Update BotDatabase::LoadGroupedBotsByGroupID to not use a view though correct edge case where botid=charid
This commit is contained in:
parent
ac214f71d4
commit
261a9e6938
@ -2637,8 +2637,8 @@ bool BotDatabase::LoadGroupedBotsByGroupID(const uint32 owner_id, const uint32 g
|
||||
"SELECT `charid`"
|
||||
" FROM `group_id`"
|
||||
" WHERE `groupid` = '%u'"
|
||||
" AND `charid` IN ("
|
||||
" SELECT `bot_id`"
|
||||
" AND `name` IN ("
|
||||
" SELECT `name`"
|
||||
" FROM `bot_data`"
|
||||
" WHERE `owner_id` = '%u'"
|
||||
" )",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user