I want to tweak the character view code to allow for characters with infravision to see dungeon features without light, while still not allowing the character to read.
Would changing:
radius = p_ptr->cur_lite;
to
radius = MAX(p_ptr->cur_lite, p_ptr->see_infra);
in update_view in cave.c do the job, or is there something I'm missing?
Would changing:
radius = p_ptr->cur_lite;
to
radius = MAX(p_ptr->cur_lite, p_ptr->see_infra);
in update_view in cave.c do the job, or is there something I'm missing?
Comment