]> granicus.if.org Git - nethack/commitdiff
postcommit.pl 1.84 - first branch info test: polyself.c (on the trunk)
authorkeni <keni>
Tue, 3 Jan 2012 19:11:34 +0000 (19:11 +0000)
committerkeni <keni>
Tue, 3 Jan 2012 19:11:34 +0000 (19:11 +0000)
src/polyself.c

index 2090f1c9c47f59486cf8de319bb74f297c542b5c..b5ea0d5a054976b596ea483447c0d9d8fc1ae956 100644 (file)
@@ -361,7 +361,7 @@ int psflags;
        if (!Polymorph_control && !forcecontrol &&
                !draconian && !iswere && !isvamp) {
            if (rn2(20) > ACURR(A_CON)) {
-               You(shudder_for_moment);
+               You1(shudder_for_moment);
                losehp(rnd(30), "system shock", KILLED_BY_AN);
                exercise(A_CON, FALSE);
                return;
@@ -383,7 +383,7 @@ int psflags;
                        if (*buf == '\033') {
                            /* user is cancelling controlled poly */
                            if (forcecontrol) { /* wizard mode #polyself */
-                               pline(Never_mind);
+                               pline1(Never_mind);
                                return;
                            }
                            Strcpy(buf, "*");   /* resort to random */
@@ -437,7 +437,7 @@ int psflags;
                            You_cant("polymorph into %s.", pm_name);
                        } else break;
                } while (--tryct > 0);
-               if (!tryct) pline(thats_enough_tries);
+               if (!tryct) pline1(thats_enough_tries);
                /* allow skin merging, even when polymorph is controlled */
                if (draconian && (tryct <= 0 ||
                                  mntmp == armor_to_dragon(uarm->otyp)))