From d4c9baa64418e4ce62fd55cdd94f0f0aa30674f5 Mon Sep 17 00:00:00 2001 From: arromdee Date: Thu, 17 Apr 2003 02:21:16 +0000 Subject: [PATCH] wishing for magenta potions Reported on the net. --- doc/fixes34.2 | 1 + src/objnam.c | 1 + 2 files changed, 2 insertions(+) diff --git a/doc/fixes34.2 b/doc/fixes34.2 index 962dd236c..ea0426ae4 100644 --- a/doc/fixes34.2 +++ b/doc/fixes34.2 @@ -41,6 +41,7 @@ avoid impossible when water freezes while hero is hiding under water avoid impossible after eating the object the hero is hiding under failed attempt to eat floor gold while polymorphed would lose the gold running that stops for closed doors should stop at mimics mimicking closed doors +allow wishing for magenta potions (ignoring the rank name 'mage') Platform- and/or Interface-Specific Fixes diff --git a/src/objnam.c b/src/objnam.c index 3588a17b7..30052f91a 100644 --- a/src/objnam.c +++ b/src/objnam.c @@ -1948,6 +1948,7 @@ boolean from_user; if (strncmpi(bp, "wizard lock", 11)) /* not the "wizard" monster! */ if (strncmpi(bp, "ninja-to", 8)) /* not the "ninja" rank */ if (strncmpi(bp, "master key", 10)) /* not the "master" rank */ + if (strncmpi(bp, "magenta", 7)) /* not the "mage" rank */ if (mntmp < LOW_PM && strlen(bp) > 2 && (mntmp = name_to_mon(bp)) >= LOW_PM) { int mntmptoo, mntmplen; /* double check for rank title */ -- 2.40.0