apply Janet's lint catches to trunk

This commit is contained in:
nethack.allison
2003-12-10 01:23:14 +00:00
parent 887d2defd1
commit f935974e02
4 changed files with 7 additions and 3 deletions

View File

@@ -374,7 +374,8 @@ boolean with_you;
if (xlocale && ylocale)
place_object(obj, xlocale, ylocale);
else if (rloco(obj)) {
get_obj_location(obj, &xlocale, &ylocale, 0);
if (!get_obj_location(obj, &xlocale, &ylocale, 0))
impossible("Can't find relocated object.");
}
}
corpse = mkcorpstat(CORPSE, (struct monst *)0, mtmp->data,