From af84887e2c6e556867598c8b252d316f51e84a51 Mon Sep 17 00:00:00 2001 From: Rick L Bird Date: Thu, 5 May 2011 18:35:43 -0400 Subject: [PATCH] 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 --- src/funlist.c | 4 ---- 1 file changed, 4 deletions(-) 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); -- 2.30.2