summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/defines.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2010-12-07 21:06:31 +0100
committerAdam Borowski <kilobyte@angband.pl>2010-12-07 21:06:31 +0100
commitf56a503ed324d3aa9da054ae31e399445f7b5219 (patch)
tree69b4925678b200cfde3b545a06687fa68e3e3f51 /crawl-ref/source/defines.h
parentd283860156d07c2439e31fe3dd134d8c3c50f630 (diff)
downloadcrawl-ref-f56a503ed324d3aa9da054ae31e399445f7b5219.tar.gz
crawl-ref-f56a503ed324d3aa9da054ae31e399445f7b5219.zip
Limit MAX_SHOPS, spawning 65th one would cause a crash.
Diffstat (limited to 'crawl-ref/source/defines.h')
-rw-r--r--crawl-ref/source/defines.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/defines.h b/crawl-ref/source/defines.h
index 2d68b2922f..49d986843a 100644
--- a/crawl-ref/source/defines.h
+++ b/crawl-ref/source/defines.h
@@ -147,7 +147,7 @@ const int LABYRINTH_BORDER = 4;
#define MAX_TRAPS 400
// max shops per level
-#define MAX_SHOPS 100
+#define MAX_SHOPS 64
// max shops randomly generated in a level.
// changing this affects the total number of shops in a game