From 55b5e00daaefd38529e50be2ec09f5ca44ee14ee Mon Sep 17 00:00:00 2001 From: "nethack.allison" Date: Mon, 9 Sep 2002 12:17:13 +0000 Subject: [PATCH] no message --- src/dokick.c | 2 +- src/trap.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/dokick.c b/src/dokick.c index 98581eb79..da277b541 100644 --- a/src/dokick.c +++ b/src/dokick.c @@ -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 */ diff --git a/src/trap.c b/src/trap.c index eb3a598b8..321f39631 100644 --- a/src/trap.c +++ b/src/trap.c @@ -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)) -- 2.50.1