render the frame that triggers outdoor combat

This commit is contained in:
2024-11-21 14:01:46 -06:00
committed by Celtic Minstrel
parent 6d6f25f326
commit e156c32c7d

View File

@@ -1756,8 +1756,12 @@ void handle_monster_actions(bool& need_redraw, bool& need_reprint) {
if((adjacent(univ.party.out_loc,univ.party.out_c[i].m_loc) || univ.party.out_c[i].what_monst.forced)
&& univ.party.in_boat < 0 && !flying()) {
store_wandering_special = univ.party.out_c[i].what_monst;
if(handle_wandering_specials(0))
if(handle_wandering_specials(0)){
// Render the frame where the monsters are next to the party!
redraw_everything();
initiate_outdoor_combat(i);
}
univ.party.out_c[i].exists = false;
// Get rid of excess keyclicks