openttd.c
changeset 5314 fda2b099eec5
parent 5313 92e5a28568c0
child 5340 8e534cd781cc
--- a/openttd.c	Sun Dec 10 12:12:26 2006 +0000
+++ b/openttd.c	Sun Dec 10 15:21:48 2006 +0000
@@ -1548,19 +1548,13 @@
 		ConvertNameArray();
 	}
 
-	/* from version 38 we have optional elrails */
+	/* from version 38 we have optional elrails, since we cannot know the
+	 * preference of a user, let elrails enabled; it can be disabled manually */
 	if (CheckSavegameVersion(38)) {
-		/* old game - before elrails made optional */
-		if (CheckSavegameVersion(24)) {
-			/* very old game - before elrail was introduced */
-			_patches.disable_elrails = true; // disable elrails
-		} else {
-			/* game with mandatory elrails (r4150+) */
-			_patches.disable_elrails = false; // enable elrails
-		}
+		_patches.disable_elrails = false; // enable elrails
+		/* do the same as when elrails were enabled/disabled manually just now */
+		SettingsDisableElrail(_patches.disable_elrails);
 	}
-	/* do the same as when elrails were enabled/disabled manually just now */
-	SettingsDisableElrail(_patches.disable_elrails);
 
 	return true;
 }