From: Rick L Bird Date: Thu, 5 May 2011 22:35:43 +0000 (-0400) Subject: PennMUSH 1.8.3p11 X-Git-Url: https://git.theari.com/?a=commitdiff_plain;h=af84887e2c6e556867598c8b252d316f51e84a51;p=cobramush.git PennMUSH 1.8.3p11 Author: allthecoolkidshaveone Date: Fri Oct 30 06:30:38 2009 +0000 Issue 114: randword() funkiness part 2. Author: allthecoolkidshaveone Date: Fri Oct 30 06:29:54 2009 +0000 Issue 114: randword() funkiness. Fixes #156 --- diff --git a/src/funlist.c b/src/funlist.c index e13ec47..4d6668e 100644 --- a/src/funlist.c +++ b/src/funlist.c @@ -1407,10 +1407,6 @@ FUNCTION(fun_randword) if (word_count == 0) return; - else if (word_count == 1) { - safe_strl(args[0], arglens[0], buff, bp); - return; - } word_index = get_random32(0, word_count - 1);