]> granicus.if.org Git - nethack/commitdiff
typo in U897 change
authorcohrs <cohrs>
Sat, 27 Mar 2004 05:03:07 +0000 (05:03 +0000)
committercohrs <cohrs>
Sat, 27 Mar 2004 05:03:07 +0000 (05:03 +0000)
in the process of merging my change into the source, the "=" got lost

src/dokick.c

index cb9fc9517d1a78d8828e8a9ffcc765fbb04c2f5d..4b6459a7d263b4daf7152ab7b1ab48378ac3e7bd 100644 (file)
@@ -456,7 +456,7 @@ xchar x, y;
            range = range / 3 + 1;      /* {1,2}=>1, {3,4,5}=>2, {6,7,8}=>3 */
        } else if (Is_airlevel(&u.uz) || Is_waterlevel(&u.uz)) {
            /* you're in air, since is_pool did not match */
-           range + rnd(3);
+           range += rnd(3);
        } else {
            if (is_ice(x, y)) range += rnd(3),  slide = TRUE;
            if (kickobj->greased) range += rnd(3),  slide = TRUE;