suppress "set but not used" warning if no soundlib

This commit is contained in:
nhmall
2023-01-27 09:57:54 -05:00
parent 42171ca070
commit 5401983d76

View File

@@ -464,6 +464,9 @@ yelp(register struct monst* mtmp)
nomul(0);
wake_nearto(mtmp->mx, mtmp->my, mtmp->data->mlevel * 12);
}
#ifndef SND_LIB_INTEGRATED
nhUse(se);
#endif
}
/* the sounds of distressed pets */
@@ -501,6 +504,9 @@ whimper(register struct monst* mtmp)
nomul(0);
wake_nearto(mtmp->mx, mtmp->my, mtmp->data->mlevel * 6);
}
#ifndef SND_LIB_INTEGRATED
nhUse(se);
#endif
}
/* pet makes "I'm hungry" noises */