diff --git a/zone/bot.cpp b/zone/bot.cpp index bb4c53210..11bbf44c7 100644 --- a/zone/bot.cpp +++ b/zone/bot.cpp @@ -4390,7 +4390,7 @@ void Bot::FillSpawnStruct(NewSpawn_Struct* ns, Mob* ForWho) { uint32 spawnedbotid = 0; spawnedbotid = this->GetBotID(); - for (i = 0; i < _MaterialCount; i++) + for (int i = 0; i < _MaterialCount; i++) { inst = GetBotItem(i); if (inst)