]> git.pond.sub.org Git - empserver/commitdiff
(MINES_MAX): Change to 32767. MINES_MAX was not adjusted from 65535
authorRon Koenderink <rkoenderink@yahoo.ca>
Sat, 7 May 2005 19:49:04 +0000 (19:49 +0000)
committerRon Koenderink <rkoenderink@yahoo.ca>
Sat, 7 May 2005 19:49:04 +0000 (19:49 +0000)
when sct_mines was changed from unsigned short to short in rev. 1.15.

include/sect.h

index e6cdc3b6fd13a4ba0dae9f7d83e952f477a93a7d..94e1c9ae537a0ee057768467f29976c637c9abfe 100644 (file)
@@ -187,7 +187,7 @@ extern struct dchrstr bigcity_dchr;
 /* maximum item amount, must fit into sct_item[], sct_del[], sct_dist[] */
 #define ITEM_MAX 9999
 /* maximum number of mines, must fit into struct sctstr member sct_mines */
-#define MINES_MAX 65535
+#define MINES_MAX 32767
 /* maximum number of che, must fit into struct sctstr member sct_che */
 #define CHE_MAX 255
 /* maximum fallout, must fit into struct sctstr member sct_fallout */