while (attempts--) {
/* Get a (hard) monster type */
- r_idx = get_mon_num(player_ptr, floor_ptr->dun_level + 11, 0);
+ r_idx = get_mon_num(player_ptr, 0, floor_ptr->dun_level + 11, 0);
r_ptr = &r_info[r_idx];
/* Decline incorrect alignment */
while (attempts--) {
/* Get a (hard) monster type */
- r_idx = get_mon_num(player_ptr, floor_ptr->dun_level + 11, 0);
+ r_idx = get_mon_num(player_ptr, 0, floor_ptr->dun_level + 11, 0);
r_ptr = &r_info[r_idx];
/* Decline incorrect alignment */
while (attempts--) {
/* Get a (hard) monster type */
- r_idx = get_mon_num(player_ptr, floor_ptr->dun_level + 0, 0);
+ r_idx = get_mon_num(player_ptr, 0, floor_ptr->dun_level + 0, 0);
r_ptr = &r_info[r_idx];
/* Decline incorrect alignment */
}
return TRUE;
-}
+}
\ No newline at end of file