Changeset - r19239:1aef34079c1f
[Not reviewed]
master
0 1 0
michi_cc - 12 years ago 2012-04-17 19:44:47
michi_cc@openttd.org
(svn r24142) -Feature [FS#3576]: Randomise count of passengers killed in a crash. (riffraffselbow)
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/vehicle.cpp
Show inline comments
 
@@ -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.
 
}
 

	
 

	
0 comments (0 inline, 0 general)