diff options
author | Adam Borowski <kilobyte@angband.pl> | 2012-01-01 05:04:13 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2012-01-03 04:46:00 +0100 |
commit | e96f19b77b2a50f2ed3b0169e066b941a58ea495 (patch) | |
tree | 06b5773326cb2f9bf2efc71224d388818beffc41 /crawl-ref/source/place.cc | |
parent | 405e9b68034c5e8793f6c169cbed7dd90d4ac8ba (diff) | |
download | crawl-ref-e96f19b77b2a50f2ed3b0169e066b941a58ea495.tar.gz crawl-ref-e96f19b77b2a50f2ed3b0169e066b941a58ea495.zip |
Cache absdepth0, now that it has to be calculated.
The cached value intentionally is stored in env.absdepth0 rather than
you.absdepth0 to catch attempts to modify it.
Diffstat (limited to 'crawl-ref/source/place.cc')
-rw-r--r-- | crawl-ref/source/place.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/place.cc b/crawl-ref/source/place.cc index 2e762309a1..6890ce3216 100644 --- a/crawl-ref/source/place.cc +++ b/crawl-ref/source/place.cc @@ -9,8 +9,8 @@ #include "branch.h" #include "libutil.h" -#include "player.h" #include "place.h" +#include "player.h" #include "travel.h" std::string short_place_name(level_id id) |