changeset 16769:1a7dbc448da5 draft

(svn r21502) -Change/Fix [FS#3991] (r150, r18402): before r18402 a train crash caused 2 "driver" deaths and a flooding 4 (added in r150). In r18402 the counting was merged and the flooding code was taken for counting drivers. Given those numbers were inconsistent (unlike for other vehicles) we better use the real original amount of driver deaths instead of the erroneous amount.
author rubidium <rubidium@openttd.org>
date Mon, 13 Dec 2010 18:26:09 +0000 (2010-12-13)
parents d71b4bdc2e35
children 3be3091c23b5
files src/train_cmd.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/train_cmd.cpp
+++ b/src/train_cmd.cpp
@@ -2773,7 +2773,7 @@
 {
 	uint pass = 0;
 	if (this->IsFrontEngine()) {
-		pass += 4; // driver
+		pass += 2; // driver
 
 		/* Remove the reserved path in front of the train if it is not stuck.
 		 * Also clear all reserved tracks the train is currently on. */