summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/pmore.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mbbsd/pmore.c b/mbbsd/pmore.c
index 947c4486..2efe2afb 100644
--- a/mbbsd/pmore.c
+++ b/mbbsd/pmore.c
@@ -3387,6 +3387,9 @@ mf_movieProcessCommand(unsigned char *p, unsigned char *end)
if (igs)
{
+ // make random
+ igs = random() % (igs+1);
+
for (pe = p ; igs > 0 && pe < end && *pe &&
*pe > ' ' && *pe < 0x80
; pe ++)