--- deliantra/server/socket/request.C 2007/01/21 21:28:27 1.65 +++ deliantra/server/socket/request.C 2007/02/15 04:04:23 1.66 @@ -149,7 +149,7 @@ pl->ns->floorbox_reset (); } -/** check for map change and send new map data */ +/** check for map/region change and send new map data */ static void check_map_change (player *pl) { @@ -203,6 +203,13 @@ socket.current_x = ob->x; socket.current_y = ob->y; + + region *reg = ob->region (); + if (socket.current_region != reg) + { + socket.current_region = reg; + socket.send_packet_printf ("drawinfo 0 You are now %s.\n(use whereami for more details)", ®->longname); + } } /**