修复c4问题-human

This commit is contained in:
aozhiwei 2021-07-07 06:27:21 +00:00
parent 71466b4f9b
commit 8b63180c76
2 changed files with 4 additions and 0 deletions

View File

@ -1953,6 +1953,9 @@ void Human::ClearFrameData()
if (!chged_props_.empty()) {
chged_props_.clear();
}
if (!del_bullets_.empty()) {
del_bullets_.clear();
}
}
void Human::GenBattleReportData(a8::MutableXObject* params)

View File

@ -316,6 +316,7 @@ protected:
std::vector<int> dead_alive_objs_;
std::vector<int> chged_cars_;
std::vector<int> chged_props_;
std::vector<int> del_bullets_;
Human* follow_target_ = nullptr;
bool follow_synced_active_player = false;
Car* car_ = nullptr;