Use u_at macro
This commit is contained in:
@@ -322,7 +322,7 @@ u_to_e(struct entity *etmp)
|
||||
static void
|
||||
set_entity(int x, int y, struct entity *etmp)
|
||||
{
|
||||
if ((x == u.ux) && (y == u.uy))
|
||||
if (u_at(x, y))
|
||||
u_to_e(etmp);
|
||||
else if (MON_AT(x, y))
|
||||
m_to_e(m_at(x, y), x, y, etmp);
|
||||
|
||||
Reference in New Issue
Block a user