Mercurial > mm7
diff UI/UIRest.cpp @ 1371:d1c8121cf0ad
Слияние
author | Ritor1 |
---|---|
date | Mon, 15 Jul 2013 15:03:56 +0600 |
parents | d6cf8ead9242 |
children | e6908823897f |
line wrap: on
line diff
--- a/UI/UIRest.cpp Mon Jul 15 15:03:40 2013 +0600 +++ b/UI/UIRest.cpp Mon Jul 15 15:03:56 2013 +0600 @@ -105,7 +105,7 @@ text_color = TargetColor(10, 0, 0); shadow_color = TargetColor(230, 214, 193); for(int i=1; i<5; ++i) - if ( !pPlayers[i]->pConditions[Player::Condition_Dead] && !pPlayers[i]->pConditions[Player::Condition_Eradicated] && pPlayers[i]->sHealth > 0 ) + if ( !pPlayers[i]->IsDead() && !pPlayers[i]->IsEradicated() && pPlayers[i]->sHealth > 0 ) ++live_characters; if ( live_characters )