(dchr): Remove second sentinel.
This commit is contained in:
parent
19f2948620
commit
b8e2f4a92a
2 changed files with 2 additions and 3 deletions
|
@ -163,7 +163,7 @@ struct dchrstr {
|
||||||
/* things relating to sectors */
|
/* things relating to sectors */
|
||||||
extern int sctoff(coord x, coord y);
|
extern int sctoff(coord x, coord y);
|
||||||
|
|
||||||
extern struct dchrstr dchr[SCT_MAXDEF + 2];
|
extern struct dchrstr dchr[SCT_MAXDEF + 1];
|
||||||
extern struct dchrstr bigcity_dchr;
|
extern struct dchrstr bigcity_dchr;
|
||||||
|
|
||||||
/* Minimal efficiency of sectors that can be knocked down (bridges) */
|
/* Minimal efficiency of sectors that can be knocked down (bridges) */
|
||||||
|
|
|
@ -45,7 +45,7 @@ struct dchrstr bigcity_dchr = {
|
||||||
'c', 0, 2, NAV_02, UPKG, 1.0, 2.0, 30, 0, 10, 1, 2, 999, "city"
|
'c', 0, 2, NAV_02, UPKG, 1.0, 2.0, 30, 0, 10, 1, 2, 999, "city"
|
||||||
};
|
};
|
||||||
|
|
||||||
struct dchrstr dchr[SCT_MAXDEF + 2] = {
|
struct dchrstr dchr[] = {
|
||||||
/*
|
/*
|
||||||
mnem prd mcst flg pkg ostr dstr value $ bld lcm hcm maxpop name */
|
mnem prd mcst flg pkg ostr dstr value $ bld lcm hcm maxpop name */
|
||||||
{'.', 0, 0, NAVOK, NPKG, 0.0, 0.0, 0, -1, 0, 0, 0, 0, "sea"},
|
{'.', 0, 0, NAVOK, NPKG, 0.0, 0.0, 0, -1, 0, 0, 0, 0, "sea"},
|
||||||
|
@ -83,7 +83,6 @@ struct dchrstr dchr[SCT_MAXDEF + 2] = {
|
||||||
{'~', 0, 2, 0, NPKG, 1.0, 1.5, 1, -1, 1, 0, 0, 49, "plains"},
|
{'~', 0, 2, 0, NPKG, 1.0, 1.5, 1, -1, 1, 0, 0, 49, "plains"},
|
||||||
{'@', 0, 1, 0, NPKG, 1.0, 1.5, 4, -1, 1, 0, 0, 999, "bridge tower"},
|
{'@', 0, 1, 0, NPKG, 1.0, 1.5, 4, -1, 1, 0, 0, 999, "bridge tower"},
|
||||||
{0, 0, 0, 0, IPKG, 0, 0, 0, 0, 0, 0, 0, 0, NULL},
|
{0, 0, 0, 0, IPKG, 0, 0, 0, 0, 0, 0, 0, 0, NULL},
|
||||||
{0, 0, 0, 0, IPKG, 0, 0, 0, 0, 0, 0, 0, 0, NULL}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
struct sctintrins intrchr[] = {
|
struct sctintrins intrchr[] = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue