mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-25 22:57:15 +00:00
Pre-p'd a bot iter
This commit is contained in:
+1
-1
@@ -8420,7 +8420,7 @@ void Bot::ProcessBotOwnerRefDelete(Mob* botOwner) {
|
|||||||
std::list<Bot*> BotList = entity_list.GetBotsByBotOwnerCharacterID(botOwner->CastToClient()->CharacterID());
|
std::list<Bot*> BotList = entity_list.GetBotsByBotOwnerCharacterID(botOwner->CastToClient()->CharacterID());
|
||||||
|
|
||||||
if(!BotList.empty()) {
|
if(!BotList.empty()) {
|
||||||
for(std::list<Bot*>::iterator botListItr = BotList.begin(); botListItr != BotList.end(); botListItr++) {
|
for(std::list<Bot*>::iterator botListItr = BotList.begin(); botListItr != BotList.end(); ++botListItr) {
|
||||||
Bot* tempBot = *botListItr;
|
Bot* tempBot = *botListItr;
|
||||||
|
|
||||||
if(tempBot) {
|
if(tempBot) {
|
||||||
|
|||||||
Reference in New Issue
Block a user