code cleanup
removing the remains of sync_hunger() which has been #ifdef'd out for years.
This commit is contained in:
@@ -437,9 +437,6 @@ stop_occupation()
|
||||
You("stop %s.", occtxt);
|
||||
occupation = 0;
|
||||
context.botl = 1; /* in case u.uhs changed */
|
||||
/* fainting stops your occupation, there's no reason to sync.
|
||||
sync_hunger();
|
||||
*/
|
||||
#ifdef REDO
|
||||
nomul(0);
|
||||
pushch(0);
|
||||
|
||||
15
src/eat.c
15
src/eat.c
@@ -2346,21 +2346,6 @@ reset_faint() /* call when a faint must be prematurely terminated */
|
||||
if(is_fainted()) nomul(0);
|
||||
}
|
||||
|
||||
#if 0
|
||||
void
|
||||
sync_hunger()
|
||||
{
|
||||
|
||||
if(is_fainted()) {
|
||||
|
||||
!Deaf = 0;
|
||||
nomul(-10+(u.uhunger/10));
|
||||
nomovemsg = "You regain consciousness.";
|
||||
afternmv = unfaint;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
void
|
||||
newuhs(incr) /* compute and comment on your (new?) hunger status */
|
||||
boolean incr;
|
||||
|
||||
Reference in New Issue
Block a user