mirror of
https://github.com/EQEmu/Server.git
synced 2026-10-11 16:40:32 +00:00
Pre-p'd a bot iter
This commit is contained in:
1 parent
bd4e15609a
commit
4978999d78
1 file changed
+1
-1
+1
-1
@@ -8420,7 +8420,7 @@ void Bot::ProcessBotOwnerRefDelete(Mob* botOwner) {
|
||||
std::list<Bot*> BotList = entity_list.GetBotsByBotOwnerCharacterID(botOwner->CastToClient()->CharacterID());
|
||||
|
||||
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;
|
||||
|
||||
if(tempBot) {
|
||||
|
||||
Reference in new issue
Block a user