1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-27 22:49:25 +02:00

Support for smart pointer serialization. Fixed creature banks serialization. Minor fixes.

This commit is contained in:
Michał W. Urbańczyk
2009-12-29 01:07:17 +00:00
parent 01831e912a
commit eb6f7fffc9
6 changed files with 55 additions and 11 deletions

View File

@@ -47,6 +47,8 @@ CTypeList typeList;
void CConnection::init()
{
CISer::smartPointerSerialization = false;
COSer::smartPointerSerialization = false;
registerTypes(static_cast<CISer<CConnection>&>(*this));
registerTypes(static_cast<COSer<CConnection>&>(*this));
#ifdef LIL_ENDIAN