remove unused globals: save_cm, was_waterlevel
From entrez. Since restoring was removed separately it was easier to edit the files manually than to use his diff.
This commit is contained in:
@@ -4502,13 +4502,9 @@ parse(void)
|
||||
}
|
||||
|
||||
g.multi = g.command_count;
|
||||
|
||||
if (g.multi) {
|
||||
if (g.multi)
|
||||
g.multi--;
|
||||
g.save_cm = g.command_line;
|
||||
} else {
|
||||
g.save_cm = (char *) 0;
|
||||
}
|
||||
|
||||
/* in 3.4.3 this was in rhack(), where it was too late to handle M-5 */
|
||||
if (g.Cmd.pcHack_compat) {
|
||||
/* This handles very old inconsistent DOS/Windows behaviour
|
||||
|
||||
@@ -262,7 +262,6 @@ const struct instance_globals g_init = {
|
||||
NULL, /* stairs */
|
||||
DUMMY, /* smeq */
|
||||
0, /* doorindex */
|
||||
NULL, /* save_cm */
|
||||
0, /* done_money */
|
||||
0L, /* domove_attempting */
|
||||
0L, /* domove_succeeded */
|
||||
@@ -466,7 +465,6 @@ const struct instance_globals g_init = {
|
||||
|
||||
/* mkmaze.c */
|
||||
{ {COLNO, ROWNO, 0, 0}, {COLNO, ROWNO, 0, 0} }, /* bughack */
|
||||
FALSE, /* was_waterlevel */
|
||||
UNDEFINED_PTR, /* bbubbles */
|
||||
UNDEFINED_PTR, /* ebubbles */
|
||||
UNDEFINED_PTR, /* wportal */
|
||||
|
||||
Reference in New Issue
Block a user