]> granicus.if.org Git - nethack/commitdiff
Delphi follow-up 2 (trunk only)
authornethack.allison <nethack.allison>
Fri, 12 May 2006 01:59:56 +0000 (01:59 +0000)
committernethack.allison <nethack.allison>
Fri, 12 May 2006 01:59:56 +0000 (01:59 +0000)
oops, Pat pointed out that I altered the logic.

src/hack.c

index 724839d973d2b999f66df3908e22d95e22851af2..01627cc04be6804cc7b670d757ea94848ac68ec4 100644 (file)
@@ -1868,12 +1868,14 @@ register boolean newlev;
                    {
                        struct monst *oracle = monstinroom(&mons[PM_ORACLE],
                                                                roomno);
-                       if (oracle && !oracle->mpeaceful)
-                           verbalize("You're in Delphi, %s.",
-                                       plname);
-                       else
-                           verbalize("%s, %s, welcome to Delphi!",
+                       if (oracle) {
+                           if (!oracle->mpeaceful)
+                               verbalize("You're in Delphi, %s.",
+                                               plname);
+                           else
+                               verbalize("%s, %s, welcome to Delphi!",
                                        Hello((struct monst *) 0), plname);
+                       }
                        break;
                    }
                case TEMPLE: