diff options
author | Pete Hurst <pete@streamuniverse.tv> | 2013-05-23 05:05:34 +0100 |
---|---|---|
committer | Nicholas Feinberg <pleasingfung@gmail.com> | 2014-06-15 15:38:18 -0700 |
commit | 3c45d0dbb16a72bf7eaa57357a4cf206156a0dab (patch) | |
tree | eba4361370edf258d690e523041912eb3e1b64e9 /crawl-ref/source/player.h | |
parent | 6b6da1c93b8d6e17de0ac1442e7c25dfbfadfaa7 (diff) | |
download | crawl-ref-3c45d0dbb16a72bf7eaa57357a4cf206156a0dab.tar.gz crawl-ref-3c45d0dbb16a72bf7eaa57357a4cf206156a0dab.zip |
Move some door-opening code to player.cc
In main.cc it was inaccessible anywhere else.
Diffstat (limited to 'crawl-ref/source/player.h')
-rw-r--r-- | crawl-ref/source/player.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/player.h b/crawl-ref/source/player.h index 6b2d1df85b..96109ae700 100644 --- a/crawl-ref/source/player.h +++ b/crawl-ref/source/player.h @@ -1011,6 +1011,7 @@ bool flight_allowed(bool quiet = false); void fly_player(int pow, bool already_flying = false); void float_player(); bool land_player(bool quiet = false); +void player_open_door(coord_def doorpos, bool check_confused); void dec_disease_player(int delay); |