High level debug (12) compile failure fix - I searched for as many as I could find with GrepWin, so there may be a few out there still

This commit is contained in:
Uleat
2013-10-27 03:13:10 -04:00
parent b4068823ed
commit cab77e83da
22 changed files with 67 additions and 56 deletions
+1 -1
View File
@@ -444,7 +444,7 @@ void NPC::RemoveItem(uint32 item_id, uint16 quantity, uint16 slot) {
return;
}
else if (item->item_id == item_id && item->equipSlot == slot && quantity >= 1) {
//cout<<"NPC::RemoveItem"<<" equipSlot:"<<iterator.GetData()->equipSlot<<" quantity:"<< quantity<<endl;
//std::cout<<"NPC::RemoveItem"<<" equipSlot:"<<iterator.GetData()->equipSlot<<" quantity:"<< quantity<<std::endl; // iterator undefined [CODEBUG]
if (item->charges <= quantity)
itemlist.erase(cur);
else