equal
deleted
inserted
replaced
1428 |
1428 |
1429 BeforeSaveGame(); |
1429 BeforeSaveGame(); |
1430 SlSaveChunks(); |
1430 SlSaveChunks(); |
1431 SlWriteFill(); // flush the save buffer |
1431 SlWriteFill(); // flush the save buffer |
1432 |
1432 |
1433 /* Write to file */ |
|
1434 if (_network_server || |
1433 if (_network_server || |
1435 (save_thread = OTTDCreateThread(&SaveFileToDisk, (void*)"")) == NULL) { |
1434 (save_thread = OTTDCreateThread(&SaveFileToDisk, (void*)"")) == NULL) { |
1436 DEBUG(misc, 1) ("cannot create savegame thread, reverting to single-threaded mode..."); |
1435 DEBUG(misc, 1) ("cannot create savegame thread, reverting to single-threaded mode..."); |
1437 SaveFileToDisk(NULL); |
1436 SaveFileToDisk(NULL); |
1438 } |
1437 } |