mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-24 05:37:17 +00:00
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:
1 parent
b4068823ed
commit
cab77e83da
22 files changed
+67
-56
No files matched your search
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user