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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user