summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/place-info.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2011-12-28 02:43:54 +0100
committerAdam Borowski <kilobyte@angband.pl>2011-12-28 02:43:54 +0100
commit7b3785d07791141787a0eac6137cb5c98e1d210c (patch)
treeeee9a6aa9715f1569fddc102a15f578df2138902 /crawl-ref/source/place-info.cc
parent2cf8a18928f1c553efb5dffb1ab5b76b50731370 (diff)
parentefb6b1fd7b0c5027acd6d6ecede9bb34dfbea356 (diff)
downloadcrawl-ref-7b3785d07791141787a0eac6137cb5c98e1d210c.tar.gz
crawl-ref-7b3785d07791141787a0eac6137cb5c98e1d210c.zip
Merge branch 'master' into portal_branches
Diffstat (limited to 'crawl-ref/source/place-info.cc')
-rw-r--r--crawl-ref/source/place-info.cc12
1 files changed, 5 insertions, 7 deletions
diff --git a/crawl-ref/source/place-info.cc b/crawl-ref/source/place-info.cc
index efb08c2138..3c871413d4 100644
--- a/crawl-ref/source/place-info.cc
+++ b/crawl-ref/source/place-info.cc
@@ -7,11 +7,11 @@
PlaceInfo::PlaceInfo()
: branch((branch_type)-2), num_visits(0),
- levels_seen(0), mon_kill_exp(0), mon_kill_exp_avail(0),
- turns_total(0), turns_explore(0), turns_travel(0), turns_interlevel(0),
- turns_resting(0), turns_other(0), elapsed_total(0),
- elapsed_explore(0), elapsed_travel(0), elapsed_interlevel(0),
- elapsed_resting(0), elapsed_other(0)
+ levels_seen(0), mon_kill_exp(0), turns_total(0), turns_explore(0),
+ turns_travel(0), turns_interlevel(0), turns_resting(0),
+ turns_other(0), elapsed_total(0), elapsed_explore(0),
+ elapsed_travel(0), elapsed_interlevel(0), elapsed_resting(0),
+ elapsed_other(0)
{
for (int i = 0; i < KC_NCATEGORIES; i++)
mon_kill_num[i] = 0;
@@ -57,7 +57,6 @@ const PlaceInfo &PlaceInfo::operator += (const PlaceInfo &other)
levels_seen += other.levels_seen;
mon_kill_exp += other.mon_kill_exp;
- mon_kill_exp_avail += other.mon_kill_exp_avail;
for (int i = 0; i < KC_NCATEGORIES; i++)
mon_kill_num[i] += other.mon_kill_num[i];
@@ -85,7 +84,6 @@ const PlaceInfo &PlaceInfo::operator -= (const PlaceInfo &other)
levels_seen -= other.levels_seen;
mon_kill_exp -= other.mon_kill_exp;
- mon_kill_exp_avail -= other.mon_kill_exp_avail;
for (int i = 0; i < KC_NCATEGORIES; i++)
mon_kill_num[i] -= other.mon_kill_num[i];