1
This commit is contained in:
parent
14c9b86832
commit
256f7c7a67
@ -724,11 +724,6 @@ void Player::HumanInteraction(Human* hum)
|
|||||||
void Player::ProcPrepareItems(const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& prepare_items)
|
void Player::ProcPrepareItems(const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& prepare_items)
|
||||||
{
|
{
|
||||||
std::set<int> handled_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) {
|
for (int equip_id : prepare_items) {
|
||||||
if (handled_items.find(equip_id) != handled_items.end()) {
|
if (handled_items.find(equip_id) != handled_items.end()) {
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user