summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tags.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-12-01 00:34:40 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-12-01 00:34:40 +0000
commit97fb0d78f692cb36873006a79446d011b4a3fb6b (patch)
treeacf34c7a52d8a7795a76f72f4fab9674c14ebbfa /crawl-ref/source/tags.cc
parent845cc22c3950d9e3e1e8b27a11e4557b3bb0fddb (diff)
downloadcrawl-ref-97fb0d78f692cb36873006a79446d011b4a3fb6b.tar.gz
crawl-ref-97fb0d78f692cb36873006a79446d011b4a3fb6b.zip
* Rename beheld -> mesmerised.
* Fix forget_map routine for Tiles. There are two problems remaining: a) Calling forget_map every ~20 turns is fine for ASCII since it mostly happens outside vision range anyway but looks really odd and spurious when watched in the minimap. Potential solution: Call the function more often. b) The minimap currently does not recenter but of course it should from time to time. The problem with this is that this is likely to look wobbly. Potential solution: Disable the minimap entirely while in labyrinths. I don't like the solutions I came up with, so if anyone has a better idea please speak up. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7698 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/tags.cc')
-rw-r--r--crawl-ref/source/tags.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/tags.cc b/crawl-ref/source/tags.cc
index 88e68d9120..e7af317cb2 100644
--- a/crawl-ref/source/tags.cc
+++ b/crawl-ref/source/tags.cc
@@ -1027,9 +1027,9 @@ static void tag_construct_you(writer &th)
// be recalculated on game start.
// List of currently beholding monsters (usually empty).
- marshallByte(th, you.beheld_by.size());
- for (unsigned int k = 0; k < you.beheld_by.size(); k++)
- marshallByte(th, you.beheld_by[k]);
+ marshallByte(th, you.mesmerised_by.size());
+ for (unsigned int k = 0; k < you.mesmerised_by.size(); k++)
+ marshallByte(th, you.mesmerised_by[k]);
// minorVersion 2 starts here
marshallByte(th, you.piety_hysteresis);
@@ -1437,7 +1437,7 @@ static void tag_read_you(reader &th, char minorVersion)
// List of currently beholding monsters (usually empty).
count_c = unmarshallByte(th);
for (i = 0; i < count_c; i++)
- you.beheld_by.push_back(unmarshallByte(th));
+ you.mesmerised_by.push_back(unmarshallByte(th));
if (minorVersion >= TAG_MINOR_PIETY)
you.piety_hysteresis = unmarshallByte(th);