Store update disable flag in the game table to make it visible in
xdump: (gamestr): New member game_upd_disable. (game_ca): Update accordingly. (game_ctrl_update): New. (disa, enab): Use it. (updates_disabled): Rewrite and move to game.c (disablefil): Remove.
This commit is contained in:
parent
e7e8717e86
commit
286dda725e
8 changed files with 31 additions and 34 deletions
|
@ -546,6 +546,9 @@ struct castr realm_ca[] = {
|
|||
};
|
||||
|
||||
struct castr game_ca[] = {
|
||||
/* no need for uid */
|
||||
{NSC_CHAR, 0, 0, offsetof(struct gamestr, game_upd_disable),
|
||||
"upd_disable", EF_BAD},
|
||||
{NSC_SHORT, 0, 0, offsetof(struct gamestr, game_turn), "turn", EF_BAD},
|
||||
{NSC_SHORT, NSC_DEITY, 0, offsetof(struct gamestr, game_tick), "tick",
|
||||
EF_BAD},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue