(natstr): Member nat_connected is inappropriate, because it is

transient server state, not persistent game state.  Remove.
(player_main, edit): Remove uses.
(coun): Use getplayer() instead of nat_connected.  Delete the message
on command being out of order.
This commit is contained in:
Markus Armbruster 2005-10-02 17:01:15 +00:00
parent ed5ba9fe3e
commit 4f1ebae4b7
6 changed files with 5 additions and 20 deletions

View file

@ -71,7 +71,6 @@ struct natstr {
coord nat_xcap, nat_ycap; /* cap location in abs coords */
coord nat_xorg, nat_yorg; /* origin location in abs coords */
s_char nat_dayno; /* day of the year mod 128 */
s_char nat_connected; /* connected or not? */
s_char nat_update; /* Want an update or not. */
u_char nat_missed; /* How many updates missed */
u_short nat_tgms; /* # of telegrams to be announced */