1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-23 00:28:08 +02:00

Crashes on starting next campaign mission should be fixed.

This commit is contained in:
Michał W. Urbańczyk
2012-09-25 18:00:55 +00:00
parent f3f4a7633d
commit ecd8947d8e
6 changed files with 39 additions and 6 deletions

View File

@ -334,6 +334,8 @@ void CClient::newGame( CConnection *con, StartInfo *si )
c >> si;
tlog0 <<"\tSending/Getting info to/from the server: "<<tmh.getDiff()<<std::endl;
c.enableStackSendingByID();
c.disableSmartPointerSerialization();
gs = const_cast<CGameInfo*>(CGI)->state;
gs->scenarioOps = si;