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:
@@ -60,7 +60,7 @@ register struct monst *mtmp;
|
||||
if (!tele_restrict(mtmp)) (void) rloc(mtmp, FALSE);
|
||||
mtmp->mavenge = 1;
|
||||
monflee(mtmp, 0, FALSE, FALSE);
|
||||
flags.botl = 1;
|
||||
context.botl = 1;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -131,7 +131,7 @@ register struct monst *mtmp;
|
||||
Your("purse feels lighter.");
|
||||
if (!tele_restrict(mtmp)) (void) rloc(mtmp, FALSE);
|
||||
monflee(mtmp, 0, FALSE, FALSE);
|
||||
flags.botl = 1;
|
||||
context.botl = 1;
|
||||
}
|
||||
}
|
||||
#endif /* GOLDOBJ */
|
||||
|
||||
Reference in New Issue
Block a user