1
This commit is contained in:
parent
30e7559013
commit
1dc5de96e4
@ -734,11 +734,10 @@ void Human::FillMFPlayerStats(cs::MFPlayerStats* stats_pb)
|
||||
skin.ToPB(pb_skin);
|
||||
}
|
||||
}
|
||||
// 222
|
||||
#if 0
|
||||
*stats_pb->mutable_hero_stats() = stats.pb_hero_stats;
|
||||
*stats_pb->mutable_weapons_stats() = stats.pb_weapons_stats;
|
||||
#endif
|
||||
TypeConvert::ToPb(stats.pb_hero_stats, stats_pb->mutable_hero_stats());
|
||||
for (auto& itr : stats.pb_weapons_stats) {
|
||||
TypeConvert::ToPb(itr, stats_pb->add_weapons_stats());
|
||||
}
|
||||
}
|
||||
|
||||
void Human::FillMFTeamData(Human* hum, cs::MFTeamData* team_data, bool is_game_over)
|
||||
|
Loading…
x
Reference in New Issue
Block a user