diff --git a/server/gameserver/pbutils.cc b/server/gameserver/pbutils.cc index 0906f99b..297d421d 100644 --- a/server/gameserver/pbutils.cc +++ b/server/gameserver/pbutils.cc @@ -587,10 +587,7 @@ void Human::FillMFObjectFull(Room* room, Human* hum, cs::MFObjectFull* full_data a8::XPrintf("DoFollow1 %d->%d\n", {GetUniId(), follow_target.Get()->GetUniId()}); #endif } - // 222 - #if 0 - FillBodyState(p->mutable_states()); - #endif + Human_FillBodyState(this, p->mutable_states()); Creature_FillBuffList(this, hum, p->mutable_buff_list()); Creature_FillSkillList(this, p->mutable_skill_list()); if (dead) { @@ -999,11 +996,8 @@ void Human::FillMFActivePlayerData(cs::MFActivePlayerData* player_data) player_data->set_max_energy_shield(max_energy_shield); } #endif - // 222 - #if 0 - FillBodyState(player_data->mutable_states()); - FillItemList(player_data->mutable_items()); - #endif + Human_FillBodyState(this, player_data->mutable_states()); + Human_FillItemList(this, this->items_, player_data->mutable_items()); Creature_FillSkillList(this, player_data->mutable_skill_list()); player_data->set_shoot_offset_x(shoot_offset.x); player_data->set_shoot_offset_y(shoot_offset.y);