another vision-related message
don't just say "the knife misses" when you can actually see the monster with infravision by testing using the correct function
This commit is contained in:
@@ -1091,8 +1091,7 @@ struct monst *mon;
|
||||
An attentive player will still notice that this is different from
|
||||
an arrow just landing short of any target (no message in that case),
|
||||
so will realize that there is a valid target here anyway. */
|
||||
if (!cansee(bhitpos.x, bhitpos.y) ||
|
||||
(mon->m_ap_type && mon->m_ap_type != M_AP_MONSTER))
|
||||
if (!canseemon(mon) || (mon->m_ap_type && mon->m_ap_type != M_AP_MONSTER))
|
||||
pline("%s misses.", The(missile));
|
||||
else
|
||||
miss(missile, mon);
|
||||
|
||||
Reference in New Issue
Block a user