mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-16 00:12:51 +00:00
(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.
This commit is contained in:
parent
20364bcefa
commit
d2c7f91cbb
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user