Skip to content

Commit

Permalink
fix #Q367 - tinning Rider corpse when level is full
Browse files Browse the repository at this point in the history
     From a bug report:  if you try to tin a
Rider's corpse and revival fails, you still get the gimicky message about
War not preserving his enemies.  Give the suggested alternate message in
that case:  The corpse evades your grasp.  I hope that we can do better
than that, but I'm too burned out to think of anything.
  • Loading branch information
nethack.rankin committed Feb 9, 2007
1 parent c2a3a3a commit eabf0f6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions doc/fixes34.4
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,7 @@ fireproof, non-rustable weapon would be revealed as fireproof by hitting a
surviving choking while eating various foods (cockatrice egg, fortune cookie,
wolfsbane, others) didn't carry through to those foods' side-effects
shapechangers who take on mimic or hider form will mimic or hide when feasible
avoid War message if tinning a Rider corpse fails


Platform- and/or Interface-Specific Fixes
Expand Down
6 changes: 4 additions & 2 deletions src/apply.c
Original file line number Diff line number Diff line change
Expand Up @@ -1522,9 +1522,11 @@ register struct obj *obj;
instapetrify(kbuf);
}
if (is_rider(&mons[corpse->corpsenm])) {
(void) revive_corpse(corpse);
if (revive_corpse(corpse))
verbalize("Yes... But War does not preserve its enemies...");
return;
else
pline_The("corpse evades your grasp.");
return;
}
if (mons[corpse->corpsenm].cnutrit == 0) {
pline("That's too insubstantial to tin.");
Expand Down

0 comments on commit eabf0f6

Please sign in to comment.