1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-02-03 13:01:33 +02:00

fixed typo

This commit is contained in:
AlexVinS 2016-11-13 12:44:46 +03:00
parent 2aa8c79a2c
commit 4ff4e41e81
2 changed files with 4 additions and 4 deletions

View File

@ -36,7 +36,7 @@ void CConnection::init()
boost::asio::ip::tcp::no_delay option(true);
socket->set_option(option);
enableSmartPointerSerializatoin();
enableSmartPointerSerialization();
disableStackSendingByID();
registerTypes(iser);
registerTypes(oser);
@ -243,7 +243,7 @@ void CConnection::disableSmartPointerSerialization()
iser.smartPointerSerialization = oser.smartPointerSerialization = false;
}
void CConnection::enableSmartPointerSerializatoin()
void CConnection::enableSmartPointerSerialization()
{
iser.smartPointerSerialization = oser.smartPointerSerialization = true;
}
@ -253,7 +253,7 @@ void CConnection::prepareForSendingHeroes()
iser.loadedPointers.clear();
oser.savedPointers.clear();
disableSmartVectorMemberSerialization();
enableSmartPointerSerializatoin();
enableSmartPointerSerialization();
disableStackSendingByID();
}

View File

@ -85,7 +85,7 @@ public:
void disableStackSendingByID();
void enableStackSendingByID();
void disableSmartPointerSerialization();
void enableSmartPointerSerializatoin();
void enableSmartPointerSerialization();
void disableSmartVectorMemberSerialization();
void enableSmartVectorMemberSerializatoin();