]> granicus.if.org Git - nethack/commitdiff
whitespace bit
authornhmall <nhmall@nethack.org>
Sat, 25 May 2019 04:42:29 +0000 (00:42 -0400)
committernhmall <nhmall@nethack.org>
Sat, 25 May 2019 04:42:29 +0000 (00:42 -0400)
src/hack.c

index a4385673a114143493c901581e26b46fcd224a4c..6f24891975c9dc0572bfd11c11a9a75517683a64 100644 (file)
@@ -1782,7 +1782,7 @@ domove_core()
             if (u.usteed)
                 u.usteed->mx = u.ux, u.usteed->my = u.uy;
             You("stop.  %s can't move diagonally.", upstart(y_monnam(mtmp)));
-         } else if (u_with_boulder
+        } else if (u_with_boulder
                     && !(verysmall(mtmp->data)
                          && (!mtmp->minvent || (curr_mon_load(mtmp) <= 600)))) {
             /* can't swap places when pet won't fit there with the boulder */
@@ -1791,7 +1791,7 @@ domove_core()
                 u.usteed->mx = u.ux, u.usteed->my = u.uy;
             You("stop.  %s won't fit into the same spot that you're at.",
                  upstart(y_monnam(mtmp)));
-         } else if (u.ux0 != x && u.uy0 != y && bad_rock(mtmp->data, x, u.uy0)
+        } else if (u.ux0 != x && u.uy0 != y && bad_rock(mtmp->data, x, u.uy0)
                    && bad_rock(mtmp->data, u.ux0, y)
                    && (bigmonst(mtmp->data) || (curr_mon_load(mtmp) > 600))) {
             /* can't swap places when pet won't fit thru the opening */