summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tags.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-11-02 14:22:15 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-11-02 14:22:15 +0000
commitee11c9b3ddae51109d602aa87fc5eb96a3d9e4a4 (patch)
tree1f053703987ef4bd587f2bbb39c9605d826dc351 /crawl-ref/source/tags.cc
parentd035522cf4d03a1420e88eff05b98b157cccd2a1 (diff)
downloadcrawl-ref-ee11c9b3ddae51109d602aa87fc5eb96a3d9e4a4.tar.gz
crawl-ref-ee11c9b3ddae51109d602aa87fc5eb96a3d9e4a4.zip
Unbreak trunk build (oops).
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2726 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/tags.cc')
-rw-r--r--crawl-ref/source/tags.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/tags.cc b/crawl-ref/source/tags.cc
index f00181319f..c16e20005f 100644
--- a/crawl-ref/source/tags.cc
+++ b/crawl-ref/source/tags.cc
@@ -777,7 +777,7 @@ static void tag_construct_you(struct tagHeader &th)
marshallByte(th,you.rotting);
marshallByte(th,you.symbol);
marshallByte(th,you.colour);
- marshallByte(th,you.pet_target);
+ marshallShort(th,you.pet_target);
marshallByte(th,you.max_level);
marshallByte(th,you.where_are_you);
@@ -1121,7 +1121,7 @@ static void tag_read_you(struct tagHeader &th, char minorVersion)
you.rotting = unmarshallByte(th);
you.symbol = unmarshallByte(th);
you.colour = unmarshallByte(th);
- you.pet_target = unmarshallByte(th);
+ you.pet_target = unmarshallShort(th);
you.max_level = unmarshallByte(th);
you.where_are_you = static_cast<branch_type>( unmarshallByte(th) );