diff options
Diffstat (limited to 'crawl-ref/source/directn.h')
-rw-r--r-- | crawl-ref/source/directn.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/directn.h b/crawl-ref/source/directn.h index 6d71cfa0b5..c20a3c792d 100644 --- a/crawl-ref/source/directn.h +++ b/crawl-ref/source/directn.h @@ -68,6 +68,8 @@ public: void init_view(); void set_player_at(const coord_def &c, bool force_centre = false); + // Set new location, but preserve scrolling as if the player didn't move. + void shift_player_to(const coord_def &c); coord_def view_centre() const { |