trunk only: preserving context (sys files)
Pat Rankin wrote: > collect them all into some new struct and > save that separately rather than jamming more non-option stuff > into struct flags. This patch: - collects all context/tracking related fields from flags into a new structure called "context." It also adds the following to the new structure: - stethoscope turn support - victual support - tin support
This commit is contained in:
@@ -423,7 +423,7 @@ char *argv[];
|
||||
}
|
||||
}
|
||||
|
||||
flags.move = 0;
|
||||
context.move = 0;
|
||||
} else {
|
||||
not_recovered:
|
||||
player_selection();
|
||||
@@ -431,7 +431,7 @@ not_recovered:
|
||||
if (discover)
|
||||
You("are in non-scoring discovery mode.");
|
||||
|
||||
flags.move = 0;
|
||||
context.move = 0;
|
||||
set_wear();
|
||||
(void) pickup(1);
|
||||
read_engr_at(u.ux,u.uy);
|
||||
|
||||
Reference in New Issue
Block a user