X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=actions2.c;h=295f1880a1fd07dbb59213ad85170649a0b05bb9;hb=d8e8bc8e89e82f5e687095220067a958f0253f66;hp=a169c481960affea6b660277414d151473f71ebb;hpb=fd10d380df6804dca3b19ea68dc32df2de6090bd;p=open-adventure.git diff --git a/actions2.c b/actions2.c index a169c48..295f188 100644 --- a/actions2.c +++ b/actions2.c @@ -232,7 +232,7 @@ int throw(FILE *cmdin) { return(attack(cmdin)); L9172: SPK=48; - if(randrange(7) < DFLAG) goto L9175; + if(randrange(NDWARVES+1) < DFLAG) goto L9175; DSEEN[I]=false; DLOC[I]=0; SPK=47;