summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tags.cc
diff options
context:
space:
mode:
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 c66ad2f01e..1414019b59 100644
--- a/crawl-ref/source/tags.cc
+++ b/crawl-ref/source/tags.cc
@@ -1636,7 +1636,7 @@ static void tag_construct_level(writer &th)
marshallShort(th, env.map[count_x][count_y].object);
marshallShort(th, env.map[count_x][count_y].colour);
marshallShort(th, env.map[count_x][count_y].flags);
- marshallShort(th, env.map[count_x][count_y].property);
+ marshallLong(th, env.map[count_x][count_y].property);
marshallShort(th, env.cgrid[count_x][count_y]);
}
@@ -1972,7 +1972,7 @@ static void tag_read_level( reader &th, char minorVersion )
env.map[i][j].object = unmarshallShort(th);
env.map[i][j].colour = unmarshallShort(th);
env.map[i][j].flags = unmarshallShort(th);
- env.map[i][j].property = unmarshallShort(th);
+ env.map[i][j].property = unmarshallLong(th);
mgrd[i][j] = NON_MONSTER;
env.cgrid[i][j] = (unsigned short) unmarshallShort(th);