mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-05-10 19:24:06 +00:00
extended NPC talking area
This commit is contained in:
parent
77759538ae
commit
5db430bdcf
@ -195,7 +195,7 @@ void missile::act() {
|
||||
|
||||
void npc::act() {
|
||||
kino();
|
||||
if(gframeid > m.last_action + 300 && intersect(get_pixel_bbox(), m.get_pixel_bbox()) && talk_on != m.last_action) {
|
||||
if(gframeid > m.last_action + 300 && intersect(extend_all(get_pixel_bbox(), get_scale()*12), m.get_pixel_bbox()) && talk_on != m.last_action) {
|
||||
talk_on = m.last_action = gframeid;
|
||||
cmode = mode::talking;
|
||||
pushScreen([&] { cmode = mode::playing; popScreen(); });
|
||||
|
Loading…
x
Reference in New Issue
Block a user