Make sure can't chat out of the map
This commit is contained in:
@@ -1001,6 +1001,9 @@ dochat()
|
|||||||
}
|
}
|
||||||
|
|
||||||
tx = u.ux+u.dx; ty = u.uy+u.dy;
|
tx = u.ux+u.dx; ty = u.uy+u.dy;
|
||||||
|
|
||||||
|
if (!isok(tx,ty)) return (0);
|
||||||
|
|
||||||
mtmp = m_at(tx, ty);
|
mtmp = m_at(tx, ty);
|
||||||
|
|
||||||
if ((!mtmp || mtmp->mundetected) &&
|
if ((!mtmp || mtmp->mundetected) &&
|
||||||
|
|||||||
Reference in New Issue
Block a user