This commit is contained in:
aozhiwei 2022-12-25 10:47:41 +08:00
parent ac1dd0478f
commit 3a7573dadb

View File

@ -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);