change is_safepet macro name

Leaving the word "pet" in the macro name, when it applied to non-pets
seemed too contradictory, even for NetHack.
This commit is contained in:
nhmall
2020-05-03 21:52:41 -04:00
parent aa5eb5a355
commit e440e9569d
3 changed files with 7 additions and 7 deletions

View File

@@ -336,7 +336,7 @@ register struct monst *mtmp;
* you'll usually just swap places if this is a movement command
*/
/* Intelligent chaotic weapons (Stormbringer) want blood */
if (is_safepet(mtmp) && !g.context.forcefight) {
if (is_safemon(mtmp) && !g.context.forcefight) {
if (!uwep || uwep->oartifact != ART_STORMBRINGER) {
/* There are some additional considerations: this won't work
* if in a shop or Punished or you miss a random roll or