trunk only: preserving context (src 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:
@@ -422,10 +422,10 @@ int how;
|
||||
}
|
||||
if (how == CHOKING) init_uhunger();
|
||||
nomovemsg = "You survived that attempt on your life.";
|
||||
flags.move = 0;
|
||||
context.move = 0;
|
||||
if(multi > 0) multi = 0; else multi = -1;
|
||||
if(u.utrap && u.utraptype == TT_LAVA) u.utrap = 0;
|
||||
flags.botl = 1;
|
||||
context.botl = 1;
|
||||
u.ugrave_arise = NON_PM;
|
||||
HUnchanging = 0L;
|
||||
curs_on_u();
|
||||
|
||||
Reference in New Issue
Block a user