summaryrefslogtreecommitdiff
path: root/src/defines.h
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2013-09-08 11:49:32 +0200
committerBardur Arantsson <bardur@scientician.net>2013-09-27 14:46:43 +0200
commit88767d9fd11638b90e16da05426b19da9ef2b9b9 (patch)
tree185a93139f9b119bbdebd840cda377d1550c93a8 /src/defines.h
parent7e88e06c6ea90c48c225ac89a7d7685dfa76cd65 (diff)
Fix an overflow with allocation values
Diffstat (limited to 'src/defines.h')
-rw-r--r--src/defines.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/defines.h b/src/defines.h
index 2c2d388d..36dca2d6 100644
--- a/src/defines.h
+++ b/src/defines.h
@@ -351,6 +351,11 @@
#define NASTY_MON 50 /* 1/chance of inflated monster level */
+/*
+ * Size of allocation table for objects
+ */
+#define ALLOCATION_MAX 8
+
/*
* Refueling constants