summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tags.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-10-07 11:32:10 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-10-07 11:32:10 +0000
commit10aeabaacb1c2cdc6b6227328df34287b7f75d4f (patch)
treedbae642faf43e6acf5871b53a3ee82eb30047b38 /crawl-ref/source/tags.cc
parent82a29029599d795c3fabd0ac941f38016f77958a (diff)
downloadcrawl-ref-10aeabaacb1c2cdc6b6227328df34287b7f75d4f.tar.gz
crawl-ref-10aeabaacb1c2cdc6b6227328df34287b7f75d4f.zip
Increased max monsters to 350, breaks saves, may be buggy. Incremented save major version.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2352 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 8b8eb8db18..46505fdbe5 100644
--- a/crawl-ref/source/tags.cc
+++ b/crawl-ref/source/tags.cc
@@ -1517,7 +1517,7 @@ static void tag_construct_level(struct tagHeader &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);
- marshallByte(th, env.cgrid[count_x][count_y]);
+ marshallShort(th, env.cgrid[count_x][count_y]);
}
}
@@ -1745,7 +1745,7 @@ static void tag_read_level( struct tagHeader &th, char minorVersion )
env.map[i][j].flags = unmarshallShort(th);
mgrd[i][j] = NON_MONSTER;
- env.cgrid[i][j] = (unsigned char) unmarshallByte(th);
+ env.cgrid[i][j] = (unsigned short) unmarshallShort(th);
}
}