summaryrefslogtreecommitdiffstats
path: root/src/core/Zones.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2021-01-20 20:16:11 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2021-01-20 20:16:11 +0100
commit8e825fa629dc3a0d82d1bc3ea8807ac10c986c82 (patch)
treebe2cd7a8bc52ec070210315c43b97c018ac27540 /src/core/Zones.cpp
parentMerge pull request #971 from Sergeanur/PoolFlags (diff)
downloadre3-8e825fa629dc3a0d82d1bc3ea8807ac10c986c82.tar
re3-8e825fa629dc3a0d82d1bc3ea8807ac10c986c82.tar.gz
re3-8e825fa629dc3a0d82d1bc3ea8807ac10c986c82.tar.bz2
re3-8e825fa629dc3a0d82d1bc3ea8807ac10c986c82.tar.lz
re3-8e825fa629dc3a0d82d1bc3ea8807ac10c986c82.tar.xz
re3-8e825fa629dc3a0d82d1bc3ea8807ac10c986c82.tar.zst
re3-8e825fa629dc3a0d82d1bc3ea8807ac10c986c82.zip
Diffstat (limited to 'src/core/Zones.cpp')
-rw-r--r--src/core/Zones.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/Zones.cpp b/src/core/Zones.cpp
index 2e3e0f6e..cdae85e1 100644
--- a/src/core/Zones.cpp
+++ b/src/core/Zones.cpp
@@ -649,7 +649,7 @@ CTheZones::SaveAllZones(uint8 *buffer, uint32 *size)
WriteSaveHeader(buffer, 'Z', 'N', 'S', '\0', *size - SAVE_HEADER_SIZE);
- WriteSaveBuf(buffer, GetIndexForZonePointer(m_pPlayersZone));
+ WriteSaveBuf(buffer, (int32)GetIndexForZonePointer(m_pPlayersZone));
WriteSaveBuf(buffer, m_CurrLevel);
WriteSaveBuf(buffer, FindIndex);
WriteSaveBuf(buffer, (int16)0); // padding