Use u_at macro

This commit is contained in:
Pasi Kallinen
2022-02-23 20:28:35 +02:00
parent 2635c60280
commit 8e91320d2f
40 changed files with 126 additions and 130 deletions

View File

@@ -3935,7 +3935,7 @@ void
useupf(struct obj *obj, long numused)
{
struct obj *otmp;
boolean at_u = (obj->ox == u.ux && obj->oy == u.uy);
boolean at_u = u_at(obj->ox, obj->oy);
/* burn_floor_objects() keeps an object pointer that it tries to
* useupf() multiple times, so obj must survive if plural */