This commit is contained in:
aozhiwei 2020-07-30 20:24:58 +08:00
parent 14c9b86832
commit 256f7c7a67

View File

@ -724,11 +724,6 @@ void Player::HumanInteraction(Human* hum)
void Player::ProcPrepareItems(const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& prepare_items)
{
std::set<int> handled_items;
#if 1
::google::protobuf::RepeatedField< ::google::protobuf::int32 >* mutable_prepare_items =
(::google::protobuf::RepeatedField< ::google::protobuf::int32 >*)&prepare_items;
mutable_prepare_items->Add(12805);
#endif
for (int equip_id : prepare_items) {
if (handled_items.find(equip_id) != handled_items.end()) {
continue;