From b1c36ca1d6f9bc4f88f616733dfbc751cb63b465 Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Tue, 1 Sep 2015 03:45:12 +0200
Subject: [PATCH] Allow greater TT_PROLIFERATE values.

---
 SERVER_COMMANDS  | 2 +-
 roguelike-server | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/SERVER_COMMANDS b/SERVER_COMMANDS
index 6efdcf0..d54ac79 100644
--- a/SERVER_COMMANDS
+++ b/SERVER_COMMANDS
@@ -228,7 +228,7 @@ TT_CORPSE_ID [0 to infinity]
 Set to argument the ID of the thing type that things of the selected type
 transform into when their state changes from animate to inanimate.
 
-TT_PROLIFERATE [0-255]
+TT_PROLIFERATE [0 to 65535]
 If non-zero, there is a chance of 1 divided by the given value each turn for any
 thing of the selected type to emit an offspring to a random neighbor cell if one
 is available that is passable and not inhabited by any thing.
diff --git a/roguelike-server b/roguelike-server
index c73a63a..27ede4e 100755
--- a/roguelike-server
+++ b/roguelike-server
@@ -1614,7 +1614,7 @@ commands_db = {
     "TT_START_NUMBER": (1, False, setter("ThingType", "TT_START_NUMBER",
                                          0, 255)),
     "TT_PROLIFERATE": (1, False, setter("ThingType", "TT_PROLIFERATE",
-                                        0, 255)),
+                                        0, 65535)),
     "TT_LIFEPOINTS": (1, False, setter("ThingType", "TT_LIFEPOINTS", 0, 255)),
     "T_ID": (1, False, command_tid),
     "T_ARGUMENT": (1, False, setter("Thing", "T_ARGUMENT", 0, 255)),
-- 
2.30.2