Restrict the teleportation notification to actual teleportations
teleds() is used for more than just teleportations, the teleportation message was also given when mounting a steed. Trying out a new bit flags method parameter design pattern.
This commit is contained in:
@@ -453,7 +453,7 @@ register struct monst *mtmp;
|
||||
if (m_at(cc.x, cc.y))
|
||||
(void) enexto(&cc, u.ux, u.uy, g.youmonst.data);
|
||||
}
|
||||
teleds(cc.x, cc.y, TRUE); /* move hero */
|
||||
teleds(cc.x, cc.y, TELEDS_ALLOW_DRAG); /* move hero */
|
||||
set_apparxy(mtmp);
|
||||
newsym(u.ux, u.uy);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user