From 9732d90bd43cd8b01ef9e757c5a68a01b52bf417 Mon Sep 17 00:00:00 2001
From: Pasi Kallinen <paxed@alt.org>
Date: Tue, 6 Sep 2016 17:35:59 +0300
Subject: [PATCH] Fix wrong parameter order

---
 src/mhitm.c | 8 +++-----
 src/mon.c   | 3 +--
 2 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/src/mhitm.c b/src/mhitm.c
index 9836136a1..eb401fa4e 100644
--- a/src/mhitm.c
+++ b/src/mhitm.c
@@ -989,11 +989,10 @@ register struct attack *mattk;
         if (resists_acid(mdef)) {
             if (vis)
                 pline("%s is covered in %s, but it seems harmless.",
-                      hliquid("acid"),
-                      Monnam(mdef));
+                      Monnam(mdef), hliquid("acid"));
             tmp = 0;
         } else if (vis) {
-            pline("%s is covered in %s!", hliquid("acid"), Monnam(mdef));
+            pline("%s is covered in %s!", Monnam(mdef), hliquid("acid"));
             pline("It burns %s!", mon_nam(mdef));
         }
         if (!rn2(30))
@@ -1508,8 +1507,7 @@ int mdead;
             Strcpy(buf, Monnam(magr));
             if (canseemon(magr))
                 pline("%s is splashed by %s %s!", buf,
-                      hliquid("acid"),
-                      s_suffix(mon_nam(mdef)));
+                      s_suffix(mon_nam(mdef)), hliquid("acid"));
             if (resists_acid(magr)) {
                 if (canseemon(magr))
                     pline("%s is not affected.", Monnam(magr));
diff --git a/src/mon.c b/src/mon.c
index 243ffbd6f..e31ecb27b 100644
--- a/src/mon.c
+++ b/src/mon.c
@@ -555,8 +555,7 @@ register struct monst *mtmp;
                 /* This can happen after a purple worm plucks you off a
                 flying steed while you are over water. */
                 pline("%s sinks as %s rushes in and flushes you out.",
-                      hliquid("water"),
-                      Monnam(mtmp));
+                      Monnam(mtmp), hliquid("water"));
             }
             mondead(mtmp);
             if (mtmp->mhp > 0) {
-- 
2.40.0