Expand a macro to simplify code.

This commit is contained in:
Eric S. Raymond 2024-09-23 03:53:28 -04:00
parent a4fd14caf7
commit 40742e112b
3 changed files with 7 additions and 8 deletions

View file

@ -970,7 +970,7 @@ static phase_codes_t listen(void) {
}
for (obj_t i = 1; i <= NOBJECTS; i++) {
if (!HERE(i) || objects[i].sounds[0] == NULL ||
OBJECT_IS_STASHED_OR_UNSEEN(i)) {
OBJECT_IS_STASHED(i) || OBJECT_IS_NOTFOUND(i)) {
continue;
}
int mi = game.objects[i].prop;