(svn r24142) -Feature [FS#3576]: Randomise count of passengers killed in a crash. (riffraffselbow)

This commit is contained in:
michi_cc
2012-04-17 19:44:47 +00:00
parent 3e5dc26ded
commit 72d6eb4342

View File

@@ -200,7 +200,7 @@ uint Vehicle::Crash(bool flooded)
SetWindowDirty(WC_VEHICLE_DETAILS, this->index);
SetWindowDirty(WC_VEHICLE_DEPOT, this->tile);
return pass;
return RandomRange(pass + 1); // Randomise deceased passengers.
}