(nullify_objects): Use SCT_MAXDEF instead of sct_maxno. Loop no

longer covers the extra empty slots at the end of the dchr[]; doesn't
matter.

(sct_maxno): Unused, remove.
This commit is contained in:
Markus Armbruster 2004-08-19 17:45:36 +00:00
parent 77a9f94c69
commit 5a725c9177
3 changed files with 2 additions and 5 deletions

View file

@ -90,7 +90,7 @@ struct sctstr {
struct dchrstr {
int d_mnem; /* map symbol */
int d_prd; /* product vtype */
int d_prd; /* product type */
int d_mcst; /* movement cost */
int d_flg; /* movement cost */
i_packing d_pkg; /* type of packaging in these sects */
@ -162,7 +162,6 @@ struct dchrstr {
/* things relating to sectors */
extern int sctoff(coord x, coord y);
extern int sct_maxno;
extern struct dchrstr dchr[];
extern struct dchrstr bigcity_dchr;