From: nethack.allison Date: Fri, 30 Aug 2002 02:55:21 +0000 (+0000) Subject: bees from trees X-Git-Tag: MOVE2GIT~2455 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=eb2503deace5f1af747321e2628aea9fa6c8228e;p=nethack bees from trees wrote in the newsgroup: > "You've attracted the tree's former occupants!" > (nothing happens) > > Yes, it's _zero_ to four bees, depending on your luck. I think it's meant > to be one to five, though. > --- diff --git a/doc/fixes34.1 b/doc/fixes34.1 index d48623fa2..b2e552ae4 100644 --- a/doc/fixes34.1 +++ b/doc/fixes34.1 @@ -226,6 +226,7 @@ contribution by Adam Wozniak adds several const & changes some char* to char[] fix impossible when hitting/jousting a monster causes it to be killed twice fix a GOLDOBJ crash/hang in take_gold() that could be triggered by reading a cursed spellbook, or by sitting on a throne +kicking a tree could produce 0 to 4 killer bees but it should have been 1 to 5 Platform- and/or Interface-Specific Fixes diff --git a/src/dokick.c b/src/dokick.c index a37fe27e7..327041fb5 100644 --- a/src/dokick.c +++ b/src/dokick.c @@ -880,7 +880,7 @@ dokick() maploc->looted |= TREE_LOOTED; return(1); } else if (!rn2(15) && !(maploc->looted & TREE_SWARM)){ - int cnt = rnl(5); + int cnt = rnl(5) + 1; coord mm; mm.x = x; mm.y = y; pline("You've attracted the tree's former occupants!");