From b82a376bd54e438e0d2fbb2b2a4779afe09788f4 Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Thu, 12 Mar 2015 14:11:41 +0100
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 0a011ce..a9ad4d7 100644
--- a/SERVER_COMMANDS
+++ b/SERVER_COMMANDS
@@ -225,7 +225,7 @@ TT_CORPSE_ID [0-255]
 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 a thing of the same same type
diff --git a/roguelike-server b/roguelike-server
index b6d5927..1a2e519 100755
--- a/roguelike-server
+++ b/roguelike-server
@@ -1786,7 +1786,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)),
     "TT_STORAGE": (1, False, setter("ThingType", "TT_STORAGE", 0, 255)),  # #
     "T_ID": (1, False, command_tid),
-- 
2.30.2