Draw monsters doing ranged attacks in peace mode
This commit is contained in:
@@ -529,7 +529,7 @@ short party_can_see(location where) {
|
|||||||
if(fog_lifted)
|
if(fog_lifted)
|
||||||
return point_onscreen(univ.party.town_loc,where) ? 1 : 6;
|
return point_onscreen(univ.party.town_loc,where) ? 1 : 6;
|
||||||
if(is_town()) {
|
if(is_town()) {
|
||||||
if( ((point_onscreen(univ.party.town_loc,where)) || (overall_mode == MODE_LOOK_TOWN)) && (pt_in_light(univ.party.town_loc,where) )
|
if( ((point_onscreen(univ.party.town_loc,where)) || (center != univ.party.town_loc)) && (pt_in_light(univ.party.town_loc,where) )
|
||||||
&& (can_see_light(univ.party.town_loc,where,sight_obscurity) < 5))
|
&& (can_see_light(univ.party.town_loc,where,sight_obscurity) < 5))
|
||||||
return 1;
|
return 1;
|
||||||
else return 6;
|
else return 6;
|
||||||
|
Reference in New Issue
Block a user