Make STEED unconditional.

This commit is contained in:
Sean Hunt
2015-03-17 18:45:49 +02:00
committed by Pasi Kallinen
parent aba6ecb7b3
commit 9759f5bf6d
62 changed files with 98 additions and 641 deletions
+1 -4
View File
@@ -1126,10 +1126,7 @@ struct obj *sobj; /* scroll, or fake spellbook object for scroll-like spell */
for (i = -bd; i <= bd; i++) for(j = -bd; j <= bd; j++) {
if (!isok(u.ux + i, u.uy + j)) continue;
if ((mtmp = m_at(u.ux + i, u.uy + j)) != 0
#ifdef STEED
|| (!i && !j && (mtmp = u.usteed) != 0)
#endif
) {
|| (!i && !j && (mtmp = u.usteed) != 0)) {
++candidates;
res = maybe_tame(mtmp, sobj);
results += res;