]> granicus.if.org Git - nethack/commitdiff
no message
authornethack.allison <nethack.allison>
Mon, 9 Sep 2002 12:17:13 +0000 (12:17 +0000)
committernethack.allison <nethack.allison>
Mon, 9 Sep 2002 12:17:13 +0000 (12:17 +0000)
src/dokick.c
src/trap.c

index 98581eb791616dd99047d1681559a8e834644eb7..da277b54149e2cb4db8c3e908d5011917861bf7c 100644 (file)
@@ -1387,7 +1387,7 @@ obj_delivery()
            if (nx > 0) {
                place_object(otmp, nx, ny);
                stackobj(otmp);
-               scatter(nx, ny, rnd(2), 0, otmp);
+               (void)scatter(nx, ny, rnd(2), 0, otmp);
            } else {            /* random location */
                /* set dummy coordinates because there's no
                   current position for rloco() to update */
index eb3a598b8ee4dc09ff1208955c8812e181fa6ec4..321f39631171ee5a6b696f87ab00c190d6ecc067 100644 (file)
@@ -1135,7 +1135,7 @@ void
 blow_up_landmine(trap)
 struct trap *trap;
 {
-       scatter(trap->tx, trap->ty, 4,
+       (void)scatter(trap->tx, trap->ty, 4,
                MAY_DESTROY | MAY_HIT | MAY_FRACTURE | VIS_EFFECTS,
                (struct obj *)0);
        del_engr_at(trap->tx, trap->ty);
@@ -1283,7 +1283,7 @@ int style;
                                place_object(singleobj, bhitpos.x, bhitpos.y);
                                singleobj->otrapped = 0;
                                fracture_rock(singleobj);
-                               scatter(bhitpos.x,bhitpos.y, 4,
+                               (void)scatter(bhitpos.x,bhitpos.y, 4,
                                        MAY_DESTROY|MAY_HIT|MAY_FRACTURE|VIS_EFFECTS,
                                        (struct obj *)0);
                                if (cansee(bhitpos.x,bhitpos.y))