diff options
Diffstat (limited to 'mbbsd/user.c')
-rw-r--r-- | mbbsd/user.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/mbbsd/user.c b/mbbsd/user.c index c4e58af6..721bcfd2 100644 --- a/mbbsd/user.c +++ b/mbbsd/user.c @@ -775,12 +775,12 @@ showplans(char *uid) i++; } - if (user_query_mode == 0) { - win = currutmp->five_win; - lost = currutmp->five_lose; - } else if(user_query_mode == 1) { - win = currutmp->chc_win; - lost = currutmp->chc_lose; + if (user_query_mode == 1) { + win = xuser.five_win; + lost = xuser.five_lose; + } else if(user_query_mode == 2) { + win = xuser.chc_win; + lost = xuser.chc_lose; } prints("%s <Á`¦@¾ÔÁZ> %d ³Ó %d ±Ñ\n", photo[5], win, lost); |