Fix compile error

This commit is contained in:
Michael Cook (mackal) 2014-12-09 22:33:09 -05:00
parent 37951d09c7
commit 362bfc79d6

View File

@ -4390,7 +4390,7 @@ void Bot::FillSpawnStruct(NewSpawn_Struct* ns, Mob* ForWho) {
uint32 spawnedbotid = 0; uint32 spawnedbotid = 0;
spawnedbotid = this->GetBotID(); spawnedbotid = this->GetBotID();
for (i = 0; i < _MaterialCount; i++) for (int i = 0; i < _MaterialCount; i++)
{ {
inst = GetBotItem(i); inst = GetBotItem(i);
if (inst) if (inst)