mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-02 10:48:04 +00:00
extended NPC talking area
This commit is contained in:
@@ -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(); });
|
||||
|
Reference in New Issue
Block a user