1
This commit is contained in:
parent
2597c9d37e
commit
27a10216df
@ -2226,7 +2226,7 @@ void Human::DecItem(int item_id, int item_num)
|
||||
room->frame_event.AddItemChg(GetWeakPtrRef(), item_id, std::max(0, itr->second));
|
||||
if (itr->second <= 0) {
|
||||
if (battling_items_.find(item_id) == battling_items_.end()) {
|
||||
items_.erase(itr);
|
||||
//items_.erase(itr); //为啥?????
|
||||
}
|
||||
items_.erase(itr);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user