mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-27 22:49:25 +02:00
* battle settings will be remembered between battles
* call-ins for serializing client and playerinterfaces (not used really yet)
This commit is contained in:
@@ -1466,6 +1466,14 @@ void CGameHandler::sendAndApply( CPackForClient * info )
|
||||
|
||||
void CGameHandler::save( const std::string &fname )
|
||||
{
|
||||
|
||||
{
|
||||
tlog0 << "Ordering clients to serialize...\n";
|
||||
SaveGame sg(fname);
|
||||
//TODO: uncomment when client saving is ready
|
||||
//sendToAllClients(&sg);
|
||||
}
|
||||
|
||||
{
|
||||
tlog0 << "Serializing game info...\n";
|
||||
CSaveFile save(std::string("Games") + PATHSEPARATOR + fname + ".vlgm1");
|
||||
|
||||
Reference in New Issue
Block a user