From 4978999d78fbcd4b0c24692759f8a5331b0e8f06 Mon Sep 17 00:00:00 2001 From: Uleat Date: Fri, 16 Jan 2015 17:15:33 -0500 Subject: [PATCH] Pre-p'd a bot iter --- zone/bot.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zone/bot.cpp b/zone/bot.cpp index bcc9a763c..a4780ddc8 100644 --- a/zone/bot.cpp +++ b/zone/bot.cpp @@ -8420,7 +8420,7 @@ void Bot::ProcessBotOwnerRefDelete(Mob* botOwner) { std::list BotList = entity_list.GetBotsByBotOwnerCharacterID(botOwner->CastToClient()->CharacterID()); if(!BotList.empty()) { - for(std::list::iterator botListItr = BotList.begin(); botListItr != BotList.end(); botListItr++) { + for(std::list::iterator botListItr = BotList.begin(); botListItr != BotList.end(); ++botListItr) { Bot* tempBot = *botListItr; if(tempBot) {