1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-20 00:17:39 +00:00

ru:: talking to NPCs

This commit is contained in:
Zeno Rogue
2025-04-27 01:37:17 +02:00
parent 58ce8a7f5c
commit 7ab4f6f580
5 changed files with 26 additions and 1 deletions

View File

@@ -28,6 +28,8 @@ void man::act() {
vel_x += dat.dx * dat.d * dat.modv * 0.02;
}
if(!(on_floor && !dat.dx)) last_action = gframeid;
if(dat.dx) facing = dat.dx;
current_room->fov_from(where_x / block_x, where_y / block_y);