(sect_ca, genitem_ca, ship_ca, plane_ca, land_ca, nuke_ca, treaty_ca,

loan_ca, news_ca, lost_ca, commodity_ca, trade_ca, nat_ca, map_ca):
NSC_OFF was lost during Empire3, rendering the codes confusing and
harder to use.  Tack it back on.
(encode, code_char): No need to fool around with NSC_OFF anymore.
This commit is contained in:
Markus Armbruster 2004-02-28 08:29:21 +00:00
parent d31f4f99cf
commit dd01fcd4c6
3 changed files with 186 additions and 188 deletions

View file

@ -147,8 +147,6 @@ code_char(long int coding, struct sctstr *sp)
int amt;
int n;
if (!(coding & NSC_VAR))
coding |= NSC_OFF;
amt = decode(player->cnum, coding, (s_char *)sp, EF_SECTOR);
n = 0;
if ((coding & NSC_CMASK) == NSC_VAR) {