Unify hero free hand check and msg

This commit is contained in:
Pasi Kallinen
2015-04-22 09:02:38 +03:00
parent 171e8284cd
commit 6d4aa312e6
3 changed files with 18 additions and 15 deletions

View File

@@ -46,14 +46,7 @@ use_saddle(otmp)
const char *s;
/* Can you use it? */
if (nohands(youmonst.data)) {
You("have no hands!"); /* not `body_part(HAND)' */
return 0;
} else if (!freehand()) {
You("have no free %s.", body_part(HAND));
return 0;
}
if (!u_handsy()) return 0;
/* Select an animal */
if (u.uswallow || Underwater || !getdir((char *)0)) {