diff options
Diffstat (limited to 'FICS/playerdb.c')
-rw-r--r-- | FICS/playerdb.c | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/FICS/playerdb.c b/FICS/playerdb.c index 70f7a19..bc0f939 100644 --- a/FICS/playerdb.c +++ b/FICS/playerdb.c @@ -1666,18 +1666,19 @@ PUBLIC int player_withdraw_offers(int p, int p1, int offerType) } -PUBLIC int player_is_observe(int p, int g) +PUBLIC int +player_is_observe(int p, int g) { - int i; + int i; - for (i = 0; i < parray[p].num_observe; i++) { - if (parray[p].observe_list[i] == g) - break; - } - if (i == parray[p].num_observe) - return 0; - else - return 1; + for (i = 0; i < parray[p].num_observe; i++) { + if (parray[p].observe_list[i] == g) + break; + } + if (i == parray[p].num_observe) + return 0; + else + return 1; } PUBLIC int |