diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-09-24 15:00:49 +0200 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-09-24 15:00:49 +0200 |
commit | 65077c314aa8dea94b37e0d22ced4a09850c8132 (patch) | |
tree | fa4c47cd2b299fd760f073dd9a9a66ea3b3a9f7a /src/WorldStorage/NBTChunkSerializer.cpp | |
parent | Merge branch 'master' into WorldLoader (diff) | |
parent | QtBiomeVisualiser: Fixed MSVC path-crossing. (diff) | |
download | cuberite-65077c314aa8dea94b37e0d22ced4a09850c8132.tar cuberite-65077c314aa8dea94b37e0d22ced4a09850c8132.tar.gz cuberite-65077c314aa8dea94b37e0d22ced4a09850c8132.tar.bz2 cuberite-65077c314aa8dea94b37e0d22ced4a09850c8132.tar.lz cuberite-65077c314aa8dea94b37e0d22ced4a09850c8132.tar.xz cuberite-65077c314aa8dea94b37e0d22ced4a09850c8132.tar.zst cuberite-65077c314aa8dea94b37e0d22ced4a09850c8132.zip |
Diffstat (limited to '')
-rw-r--r-- | src/WorldStorage/NBTChunkSerializer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/WorldStorage/NBTChunkSerializer.cpp b/src/WorldStorage/NBTChunkSerializer.cpp index 09225dd90..0e364d8b0 100644 --- a/src/WorldStorage/NBTChunkSerializer.cpp +++ b/src/WorldStorage/NBTChunkSerializer.cpp @@ -582,7 +582,7 @@ void cNBTChunkSerializer::AddMonsterEntity(cMonster * a_Monster) } m_Writer.AddByte("Sitting", Wolf.IsSitting() ? 1 : 0); m_Writer.AddByte("Angry", Wolf.IsAngry() ? 1 : 0); - m_Writer.AddInt("CollarColor", Wolf.GetCollarColor()); + m_Writer.AddByte("CollarColor", (unsigned char)Wolf.GetCollarColor()); break; } case cMonster::mtZombie: |