diff options
Diffstat (limited to 'src/object2.cc')
-rw-r--r-- | src/object2.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object2.cc b/src/object2.cc index c2808957..754a6b91 100644 --- a/src/object2.cc +++ b/src/object2.cc @@ -4277,7 +4277,7 @@ try_an_other_ego: e_ptr = &e_info[e_idx]; /* Hack -- extra powers */ - for (j = 0; j < 5; j++) + for (j = 0; j < FLAG_RARITY_MAX; j++) { /* Rarity check */ if (magik(e_ptr->rar[j])) |