diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2024-04-04 02:24:47 +0200 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2024-04-04 02:24:47 +0200 |
commit | 5464cd9ac687ea1bc74420e069fdfcf733be44a5 (patch) | |
tree | f333e68162a1cdbc25946c525bae073ab2453693 /FICS | |
parent | d42518fe19de28cc02ef6ec72eadb7cdfd788697 (diff) |
Splitted if statements
Diffstat (limited to 'FICS')
-rw-r--r-- | FICS/ratings.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/FICS/ratings.c b/FICS/ratings.c index 7edb281..2ea978a 100644 --- a/FICS/ratings.c +++ b/FICS/ratings.c @@ -750,11 +750,13 @@ rating_update(int g) rating_add(w_stats->rating, garray[g].type); rating_add(b_stats->rating, garray[g].type); - if ((w_stats->rating > w_stats->best) && (is_active(w_stats->num))) { + if (w_stats->rating > w_stats->best && + is_active(w_stats->num)) { w_stats->best = w_stats->rating; w_stats->whenbest = time(NULL); } - if ((b_stats->rating > b_stats->best) && (is_active(b_stats->num))) { + if (b_stats->rating > b_stats->best && + is_active(b_stats->num)) { b_stats->best = b_stats->rating; b_stats->whenbest = time(NULL); } |