mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-01-22 23:26:34 +00:00
(svn r2944) Add Revision keyword to the file for --version/-v
This commit is contained in:
parent
802edd7f0d
commit
c5fa3848f6
@ -1430,7 +1430,6 @@ SaveOrLoadResult SaveOrLoad(const char *filename, int mode)
|
||||
SlSaveChunks();
|
||||
SlWriteFill(); // flush the save buffer
|
||||
|
||||
/* Write to file */
|
||||
if (_network_server ||
|
||||
(save_thread = OTTDCreateThread(&SaveFileToDisk, (void*)"")) == NULL) {
|
||||
DEBUG(misc, 1) ("cannot create savegame thread, reverting to single-threaded mode...");
|
||||
|
@ -1190,7 +1190,7 @@ int CDECL main(int argc, char* argv[])
|
||||
int show_todo = 0;
|
||||
|
||||
if (argc > 1 && (!strcmp(argv[1], "-v") || !strcmp(argv[1], "--version"))) {
|
||||
puts("$Revision: 2617 $");
|
||||
puts("$Revision$");
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user