summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mbbsd/cal.c2
1 files changed, 1 insertions, 1 deletions
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);