Opened 12 years ago

Closed 12 years ago

#415 closed bug (fixed (in master))

Move from !randint() or randint() == 0 to one_in_()

Reported by: takkaria Owned by:
Milestone: 3.1.0 Keywords:
Cc:

Description

This is a source-wide thing.

takkaria@agent57:~/angband/clean/src$  egrep rand_?int *.c | grep "==" | cut -d: -f1 | uniq
cave.c
cmd1.c
cmd2.c
cmd6.c
dungeon.c
generate.c
monster2.c
obj-make.c
randart.c
spells1.c
spells2.c
store.c
xtra2.c

Change History (1)

comment:1 Changed 12 years ago by takkaria

  • Resolution set to fixed
  • Status changed from new to closed

Patch supplied by Kenneth 'Bessarion' Boyd, committed as [8214c04] (SVN r633).

Note: See TracTickets for help on using tickets.