From a26fa543c55f28ada7f4617d18094061d8827397 Mon Sep 17 00:00:00 2001 From: victor Date: Thu, 30 Sep 2004 05:31:32 +0000 Subject: enlarge the random range git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2214 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/cal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mbbsd/cal.c b/mbbsd/cal.c index 7e24c2df..7096c7fa 100644 --- a/mbbsd/cal.c +++ b/mbbsd/cal.c @@ -60,7 +60,7 @@ int vice(int money, char *item) { char buf[128]; - unsigned int viceserial = (currutmp->lastact % 1000000) * 100 + rand() % 100; + unsigned int viceserial = (currutmp->lastact % 10000) * 10000 + rand() % 10000; demoney(-money); setuserfile(buf, VICE_NEW); -- cgit v1.2.3