修复组队结算问题

This commit is contained in:
aozhiwei 2019-05-22 13:49:21 +08:00
parent 52a360a193
commit fd7240dd71

View File

@ -715,7 +715,7 @@ bool Human::HasNoDownedTeammate()
{ {
if (team_members) { if (team_members) {
for (auto& hum : *team_members) { for (auto& hum : *team_members) {
if (hum != this && (!hum->dead || !hum->downed)) { if (hum != this && !hum->dead && !hum->downed) {
return true; return true;
} }
} }