summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/env.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2011-08-25 12:56:07 +0200
committerAdam Borowski <kilobyte@angband.pl>2011-08-25 13:03:01 +0200
commit8d3dd664121849bab648aa96b4e5e88512f77fa9 (patch)
tree859e08eac2d39c534c2411247a3b2df5ea9ed3cc /crawl-ref/source/env.h
parentc17ed30b488b7008e9f91ddb092236ba43437eb8 (diff)
downloadcrawl-ref-8d3dd664121849bab648aa96b4e5e88512f77fa9.tar.gz
crawl-ref-8d3dd664121849bab648aa96b4e5e88512f77fa9.zip
Cache position of the Orb.
It is referenced many times for every monster per turn in ZotDef.
Diffstat (limited to 'crawl-ref/source/env.h')
-rw-r--r--crawl-ref/source/env.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/env.h b/crawl-ref/source/env.h
index 7f92805757..713b663580 100644
--- a/crawl-ref/source/env.h
+++ b/crawl-ref/source/env.h
@@ -98,6 +98,7 @@ struct crawl_environment
unsigned int dactions_done;
coord_def sanctuary_pos;
+ coord_def orb_pos;
int sanctuary_time;
int forest_awoken_until;
int density;