From d2c7f91cbb2ec0c344de92e57c310f006079fcdb Mon Sep 17 00:00:00 2001 From: rubidium Date: Mon, 13 Dec 2010 18:26:09 +0000 Subject: (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. --- src/train_cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/train_cmd.cpp b/src/train_cmd.cpp index 7fd874732..46bbb1d8f 100644 --- a/src/train_cmd.cpp +++ b/src/train_cmd.cpp @@ -2773,7 +2773,7 @@ uint Train::Crash(bool flooded) { 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. */ -- cgit v1.2.3-70-g09d2